Skip to content

Return U2F attestation statement in a way that does not require error checking in clients#124

Merged
iinuwa merged 1 commit into
linux-credentials:masterfrom
msirringhaus:u2f_fixes
Jul 16, 2025
Merged

Return U2F attestation statement in a way that does not require error checking in clients#124
iinuwa merged 1 commit into
linux-credentials:masterfrom
msirringhaus:u2f_fixes

Conversation

@msirringhaus

Copy link
Copy Markdown
Collaborator

We don't serialize these, so it's up to the application to repackage it. Since a single certificate is required by the standard, let's only return exactly one, removing the need to error check the length on the outside. The algorithm is also not needed.

@iinuwa iinuwa merged commit a91e6a5 into linux-credentials:master Jul 16, 2025
3 checks passed
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