MasterKale / SimpleWebAuthn

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.
https://simplewebauthn.dev
MIT License
1.62k stars 137 forks source link

largeBlob support? #487

Open jbrower95 opened 11 months ago

jbrower95 commented 11 months ago

Describe the issue

Has anyone looked into this already? As of iOS17 / Safari 17, we should have largeBlob support on all Apple devices now... would be nice to be able to use with SimpleWebAuthn!

Reproduction Steps

Expected behavior

Code Samples + WebAuthn Options and Responses

https://chromestatus.com/feature/5657899357437952 https://webauthn-large-blob.glitch.me/

Dependencies

SimpleWebAuthn Libraries

$ npm list --depth=0 | grep @simplewebauthn
├── @simplewebauthn/browser@_._._
├── @simplewebauthn/server@_._._
# ...

Additional context

MasterKale commented 10 months ago

Thanks for opening this issue @jbrower95, it's not a bad idea. There's definitely an opportunity here to simplify the use of largeBlob because the spec requires reading the description of the extension a few times to fully understand the couple of combinations of legitimate options that will lead to success.