[webauthn] `options.mediation` should be called something else in step 14 of Registering a New Credential (#2122)

zacknewman has just created a new issue for https://github.com/w3c/webauthn:

== `options.mediation` should be called something else in step 14 of Registering a New Credential ==
[Registering a New Credential](https://w3c.github.io/webauthn/#sctn-registering-a-new-credential) explicitly defines `options` in step 1 as a `PublicKeyCredentialCreationOptions`; however step 14 links `options.mediation` to [`CredentialCreationOptions.mediation`](https://w3c.github.io/webappsec-credential-management/#dom-credentialcreationoptions-mediation). While `CredentialCreationOptions` is extended with the field [`publicKey`](https://w3c.github.io/webauthn/#dom-credentialcreationoptions-publickey), that doesn't make a `PublicKeyCredentialCreationOptions` an instance of `CredentialCreationOptions`.

Perhaps word it something like

> 14. Verify that the [UP](https://w3c.github.io/webauthn/#authdata-flags-up) bit of the [`flags`](https://w3c.github.io/webauthn/#authdata-flags) in _authData_ is set, unless the [`mediation`](https://w3c.github.io/webappsec-credential-management/#dom-credentialcreationoptions-mediation) related to `options` is set to [`conditional`](https://w3c.github.io/webappsec-credential-management/#dom-credentialmediationrequirement-conditional).

Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2122 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 16 August 2024 21:25:49 UTC