Skip to content

Can't remove credential with fido2-token (throws error) #801

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

You must be logged in to vote

Hi,

fido2-token -L -r produces a list of relying parties with discoverable credentials on the device. The identifier that you've copied is the hash of the RP ID, but you need to pass the Credential ID to fido2-token -D -i.

$ # Produce a list of relying parties with discoverable credentials on the devce:
$ fido2-token -L -r /dev/hidraw8
Enter PIN for /dev/hidraw8:
00: dKbqkhPJnC90siSSsyDPQCYqlMGpUKA5fyklC2CEHvA= webauthn.io

$ # Produce a list of discoverable credentials for a particular RP
$ fido2-token -L -k webauthn.io /dev/hidraw8
Enter PIN for /dev/hidraw8:
00: JsZc3mmQQy4S52G6fAMwjFn2t4yrImsmFtYGcVqo9gEF7ke5Gz9XXHZoVEtKQMvg foobar OUh4NTZLNnJpeUtGblVCQXo0TjF4RDJGWHRRbE1VM3ZfenIyS3Z4O…

Replies: 2 comments

Comment options

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