Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox has started returning an error on registration #54

Closed
davidearl opened this issue Mar 23, 2022 · 1 comment
Closed

Firefox has started returning an error on registration #54

davidearl opened this issue Mar 23, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@davidearl
Copy link
Owner

registration failed: Bad Request: cannot decode key response (8)

@davidearl davidearl added the bug Something isn't working label Mar 23, 2022
@davidearl davidearl self-assigned this Mar 23, 2022
davidearl added a commit that referenced this issue Mar 30, 2022
@davidearl
Copy link
Owner Author

Problem located and worked around.

Looking at the data returned by FireFox it appeared the length of the credID field was turning up too early in the structure returned by FireFox. That led me to a search which yielded this very recent post:
https://www.antradar.com/blog-firefox-webauthn-incompability
indicating there is a FF bug where it only (now) sends one byte where the spec says it should send 16 bytes.

My fix is not quite the same as theirs - if it fails I try it again on the shorter length.

This must be a recent change in FF, as it used to work until not long ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant