Skip to content

Attestation format #594

Answered by martelletto
sb230132 asked this question in Q&A
Jun 20, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @sb230132,

That depends on the protocol spoken between the FIDO2 client and the RP.

In WebAuthn, the attestation statement format identifier, the attestation statement, and authdata (returned by fido_cred_fmt(), fido_cred_attstmt_ptr(), and fido_cred_authdata_ptr() respectively) are passed by the client to the RP during registration/enrollment as part of the attestation object. Sample code to build an attestation object using libfido2 can be found at https://github.com/martelletto/fido2-webauthn-client/blob/master/cbor.c#L175-L241.

Kind regards,

-p.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sb230132
Comment options

@martelletto
Comment options

@sb230132
Comment options

Answer selected by martelletto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants