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

Fix CTAP2 tests #22

Closed
wants to merge 5 commits into from
Closed

Fix CTAP2 tests #22

wants to merge 5 commits into from

Conversation

robin-nitrokey
Copy link
Member

@robin-nitrokey robin-nitrokey commented Jul 7, 2023

As required by the Webauthn spec, we now ignore public key credential
parameters with a type other than "public-key".

Fixes: #20
Users with an empty ID should not be returned by getAssertion to avoid
compatibility issues.

#24
The getAssertion command does not use the rk option so we return an
InvalidOption error if it is set.

Fixes: #23
Previously, a PinAuthBlocked error was already returned after two wrong
PIN entries. The reason for this as that decrement_retries also checks
if the allowed retries are exceeded. This as unnecessary because
pin_blocked is always checked before decrement_retries is called.

This patch removes the check in decrement_retries.

Fixes: #27
@robin-nitrokey
Copy link
Member Author

All PRs have been merged so we no longer need this collection.

@robin-nitrokey robin-nitrokey deleted the ctap2-test-tool branch July 10, 2023 14:56
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.

1 participant