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

fix/440-handle-malformed-authdata-firefox-117 #441

Closed MasterKale closed 1 year ago

MasterKale commented 1 year ago

This PR adds logic to help parse bad authenticator data produced by Firefox 117 when the authenticator uses EdDSA (-8) for its public key algorithm.

This is a similar fix to the one I implemented over in the py_webauthn project. See https://github.com/duo-labs/py_webauthn/issues/175.

Fixes #440.