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

Change WebAuthn create challenge to 16 random bytes #2561

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

frederikrothenberger
Copy link
Member

@frederikrothenberger frederikrothenberger commented Aug 20, 2024

According to the WebAuthn spec the challenge should be at least 16 bytes. So far it was 9. Apparently, KeePassXC verifies the challenge length and refuses to sign shorter values.

This changes the length to 16 bytes which should address the problem.

Closes #2560.


🟡 Some screens were changed

According to the WebAuthn spec the challenge _should_ be at
least 16 bytes. So far it was 9. Apparently, KeePassXC verifies
the challenge length and refuses to sign shorter values.

This changes the length to 16 bytes which should address the problem.

Closes #2560.
Copy link
Member

@bitdivine bitdivine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks random to me. :-)

@frederikrothenberger frederikrothenberger added this pull request to the merge queue Aug 20, 2024
Merged via the queue into main with commit 8d29992 Aug 20, 2024
65 checks passed
@frederikrothenberger frederikrothenberger deleted the frederik/webauthn-challenge branch August 20, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not following the Passkey standard propely, breaking keepassxc passkeys
2 participants