Re: [webauthn] `CredentialRequestOptions` make otherwise valid values invalid in an undesirable way

> I _think_ it happens [here](https://w3c.github.io/webappsec-credential-management/#algorithm-create), where _interfaces_ refers to [here](https://w3c.github.io/webappsec-credential-management/#credentialrequestoptions-relevant-credential-interface-objects) where _options_ is the options argument object sent to the `create()` method and the `[[type]]` slot for the [PublicKeyCredential][pkc] interface contains `"public-key"`.

[IIUC](https://en.wiktionary.org/wiki/IIUC), the above is correct.

> ...actually, does that mean that the publicKey member name in CredentialCreationRequestOptions should also be "public-key", or vice-versa?

IIUC, I do not think that the difference between the `[[type]]` slot's value of `public-key` and the  [CredentialCreationOptions](https://www.w3.org/TR/webauthn/#credentialcreationoptions-extension) and [CredentialRequestOptions](https://www.w3.org/TR/webauthn/#credentialrequestoptions-extension) dictionare extensions' member name of `publicKey` causes any issues. 

cc: @mikewest 



-- 
GitHub Notification of comment by equalsJeffH
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/750#issuecomment-403622614 using your GitHub account

Received on Monday, 9 July 2018 21:14:19 UTC