Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify behaviour of duplicate pubKeyCredParams and attestationFormats #2214

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3512,6 +3512,7 @@ optionally evidence of [=user consent=] to a specific transaction.
: <dfn>pubKeyCredParams</dfn>
:: This member lists the key types and signature algorithms the [=[RP]=] supports,
ordered from most preferred to least preferred.
Duplicates are allowed but effectively ignored.
The [=client=] and [=authenticator=] make a best-effort to create a credential of the most preferred type possible.
If none of the listed types can be created, the {{CredentialsContainer/create()}} operation fails.

Expand Down Expand Up @@ -3553,7 +3554,8 @@ optionally evidence of [=user consent=] to a specific transaction.
: <dfn>attestationFormats</dfn>
:: The [=[RP]=] MAY use this OPTIONAL member to specify a preference regarding the [=attestation=] statement format used by the [=authenticator=].
Values SHOULD be taken from the IANA "WebAuthn Attestation Statement Format Identifiers" registry [[!IANA-WebAuthn-Registries]] established by [[!RFC8809]].
Values are ordered from most preferable to least preferable.
Values are ordered from most preferred to least preferred.
Duplicates are allowed but effectively ignored.
This parameter is advisory and the [=authenticator=] MAY use an attestation statement not enumerated in this parameter.

The default value is the empty list, which indicates no preference.
Expand Down