Skip to content

Discoverable Credentials #658

Answered by LDVG
shimritd asked this question in Q&A
Dec 7, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi,

in the case of RK=true, if there are more than one user that is enrolled with the same key to the same domain, the authenticator replies with more than one assertion, am i right?

Unless the user has the ability to select which credential to use on the authenticator itself, yes (see CTAP 2.1, § 6.2.2. authenticatorGetAssertion Algorithm, step 12).

does the code ignore this case? i can see that only the first assertion is parsed.

No, it should be possible to retreive all assertions. An example using fido2-cred and fido2-assert (note that our two users are given randomized user IDs):

$ # Register first user.
$ echo credential challenge | openssl sha256 -binary | base64 > cred_param  #

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@shimritd
Comment options

@LDVG
Comment options

LDVG Dec 7, 2022
Maintainer

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