[webauthn] `attestation` and `attestationObject` is missing some of interfaces for assertions (#1918)

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

== `attestation` and `attestationObject` is missing some of interfaces for assertions  ==
## Proposed Change

WebAuthn Level 3 supports attestation in assertions, if the relying party requests an attestation and the authenticator supports attestation in assertions.

In some interfaces, such spec changes are not well reflected to the specification.
Followings are the contents which needs to be modified.

1. In [Section 5.1.9](https://w3c.github.io/webauthn/#sctn-parseRequestOptionsFromJSON), parseRequestOptionsFromJSON() method has a parameter indicating assertion options represented by JSON structure ([PublicKeyCredentialRequestOptionsJSON](https://w3c.github.io/webauthn/#dictdef-publickeycredentialrequestoptionsjson)). The PublicKeyCredentialRequestOptionsJSON structure does not have a `attestation` field, while the corresponding dictionary, [PublicKeyCredentialRequestOptions](https://w3c.github.io/webauthn/#dictdef-publickeycredentialrequestoptions) does have a `attestation` field.
2. Similar to the previous issue, in [AuthenticatorAssertionResponse](https://w3c.github.io/webauthn/#authenticatorassertionresponse) section, the [AuthenticatorAssertionResponseJSON](https://w3c.github.io/webauthn/#dictdef-authenticatorassertionresponsejson) does not have `attestationObject` field in it, which is not well reflected by the corresponding dictionary [AuthenticatorAssertionResponse](https://w3c.github.io/webauthn/#authenticatorassertionresponse).
3. Such modification also needs to be reflected to the [IDL Index](https://w3c.github.io/webauthn/#idl-index).



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


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

Received on Thursday, 6 July 2023 07:57:40 UTC