Commit f37fb47
committed
feat(webauthn): perform largeBlob.read via authenticatorLargeBlobs
Adds the read-path helper for the WebAuthn L3 largeBlob extension. After
get_assertion returns a largeBlobKey, the platform paginates
authenticatorLargeBlobs(get), AES-256-GCM-authenticates each entry under
the per-credential key, and RFC 1951 raw-deflate decompresses the
plaintext into unsigned_extensions_output.large_blob.blob.
Read failures surface as blob absent, per WebAuthn L3 sec 10.1.5. The
chunk size honours maxFragmentLength = maxMsgSize - 64 from GetInfo.
origSize is capped at 1 MiB to bound platform allocation. Per-entry
structural problems are skipped, not propagated, since the on-device
array is shared across credentials.1 parent c6110f5 commit f37fb47
5 files changed
Lines changed: 822 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
0 commit comments