Skip to content

Commit

Permalink
Merge pull request #2126 from w3c/issue-2122-rp-up-conditional-clarify
Browse files Browse the repository at this point in the history
Clarify meaning of "unless" in UP flag validation
  • Loading branch information
emlun authored Sep 24, 2024
2 parents caefa8a + 6cae8a5 commit 0ca1c85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5959,7 +5959,8 @@ a numbered step. If outdented, it (today) is rendered as a bullet in the midst o

1. Verify that the <code>[=rpIdHash=]</code> in |authData| is the SHA-256 hash of the [=RP ID=] expected by the [=[RP]=].

1. Verify that the [=UP=] bit of the <code>[=flags=]</code> in |authData| is set, unless <code>|options|.{{CredentialCreationOptions/mediation}}</code> is set to {{CredentialMediationRequirement/conditional}}.
1. If <code>|options|.{{CredentialCreationOptions/mediation}}</code> is not set to {{CredentialMediationRequirement/conditional}},
verify that the [=UP=] bit of the <code>[=flags=]</code> in |authData| is set.

1. If the [=[RP]=] requires [=user verification=] for this registration,
verify that the [=authData/flags/UV=] bit of the <code>[=flags=]</code> in |authData| is set.
Expand Down

0 comments on commit 0ca1c85

Please sign in to comment.