Skip to content

Do not fail on unknown algorithms (fix #66)#111

Merged
AlfioEmanueleFresta merged 4 commits into
masterfrom
no-crash-unknown-algorithsm
Jun 2, 2025
Merged

Do not fail on unknown algorithms (fix #66)#111
AlfioEmanueleFresta merged 4 commits into
masterfrom
no-crash-unknown-algorithsm

Conversation

@AlfioEmanueleFresta
Copy link
Copy Markdown
Member

Allows parsing unknown algorithm types without failing.

Only ES256 is every used for requests, and it's guaranteed to be supported by the spec, so checking the value is not necessary for now.

Base automatically changed from fix-ctap2-transport to master May 27, 2025 06:37
Comment thread libwebauthn/src/proto/ctap1/model.rs
Comment thread libwebauthn/src/proto/ctap2/model/credential_protection.rs Outdated
Comment thread libwebauthn/src/proto/ctap2/model.rs Outdated
@AlfioEmanueleFresta AlfioEmanueleFresta force-pushed the no-crash-unknown-algorithsm branch from 08399d5 to f5770cc Compare May 28, 2025 21:26
@AlfioEmanueleFresta AlfioEmanueleFresta merged commit 528af8d into master Jun 2, 2025
4 checks passed
@AlfioEmanueleFresta AlfioEmanueleFresta deleted the no-crash-unknown-algorithsm branch June 2, 2025 21:33
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.

2 participants