Skip to content

How do you store credentials on the key? #115

Answered by nickray
atoponce asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think we have any command in solo that generates a resident key, which is what solo key credential info outputs.

What make-credential does is create a non-resident key, meaning the credential ID (the hex-output you see) encodes everything the token needs to reconstruct the key. This is the original idea behind U2F (use the "server" to store the key, by sending it an encrypted version as credential ID). So far, so good!

You'd then pass that credential ID to solo key sign-file.

However, signing files is not part of the official firmware on secure keys (you'd get a CTAP error: 0x01 - INVALID_COMMAND). This is implemented in solokeys/solo1#397 which I don't think we ever merged.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@atoponce
Comment options

Answer selected by atoponce
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants