Skip to content

What is included in the clientdata #680

Answered by LDVG
krabbenprgr asked this question in Q&A
Discussion options

You must be logged in to vote

My question is what is contained in the byte array?
...
I'm a bit confused now, as this information is presumably not stored in a 32byte array?

For the sake of keeping the example simple, consider its client data array to be an opaque blob of bytes as retrieved from somewhere else. You should never use fully static data as client data in a real client.

This library mostly concerns itself with the communication with the authenticators themselves, i.e. the CTAP part of the FIDO family of specifications. At this level, the client data is opaque (and only the hash of it is sent to the authenticator). As a result, you can technically call fido_cred_set_clientdata() with any set of bytes.

The…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LDVG
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