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

Add credBlob-extension #329

Open
wants to merge 1 commit into
base: ctap2-2021
Choose a base branch
from

Conversation

msirringhaus
Copy link
Contributor

It is a bit annoying that the credBlob-extension can be, depending on the situation, a boolean (MakeCredentialResponse, GetAssertion) or a ByteBuf (MakeCredential, GetAssertionResponse), but we use the same Extension-struct everywhere.
I thus opted for a not completely type-safe enum-API for the credBlob-extensions, even though this means theoretically, that a user could 'use it wrong', and send a ByteBuf into a GetAssertion-request. The token should in most cases error out, though.

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