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

[examples/cred] Support self attestation #827

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

James-ZHANG
Copy link
Contributor

Some attestation format, e.g. packed, allows self attestation [1]. And when that happens, fido_cred_x5c_ptr would be NULL, making fido_cred_verify fail.

[1] https://w3c.github.io/webauthn/#sctn-packed-attestation

@LDVG
Copy link
Contributor

LDVG commented Oct 14, 2024

Looks good to me!

One minor nitpick, could you please amend your commit message so that the subject/title line does not end in a period? (Ideally, we'd also like the subject line a little shorter, but this is not as critical.) Thank you!

@James-ZHANG James-ZHANG changed the title Use fido_cred_verify_self when the authenticator does not return an x5c. Use fido_cred_verify_self when the authenticator does not return an x5c Oct 14, 2024
@James-ZHANG James-ZHANG changed the title Use fido_cred_verify_self when the authenticator does not return an x5c [examples/cred] Support self attestation Oct 14, 2024
@James-ZHANG James-ZHANG force-pushed the example-cred-support-self-attestation branch from e197857 to 82afb8c Compare October 14, 2024 16:42
@James-ZHANG
Copy link
Contributor Author

could you please amend your commit message so that the subject/title line does not end in a period?

Done.

@LDVG LDVG merged commit 7c00303 into Yubico:main Oct 14, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants