Skip to content

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.

@jschanck
Copy link
Collaborator

This looks good, but I'll take it as part of #332 once you've addressed my review comments there.

@jschanck jschanck closed this Oct 22, 2025
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