WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.
1.62k
stars
137
forks
source link
fix/438-handle-bad-publickey-getters #443
Closed
MasterKale closed 1 year ago
This PR updates browser's
startRegistration()
method to be more resilient when attempting to call the following methods:getPublicKeyAlgorithm()
getPublicKey()
getAuthenticatorData()
This should allow
startRegistration()
to support responses generated by the 1Password browser extension v2.15.1+.Fixes #438.
Shout out to @unix for proposing the initial version of this PR with #439. This PR supersedes that one, but I'm grateful all the same 🙇