[webauthn] Add `publicKey` and `publicKeyAlgorithm` to `AuthenticatorAssertionResponseJSON` (#2105)

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

== Add `publicKey` and `publicKeyAlgorithm` to `AuthenticatorAssertionResponseJSON` ==
[`publicKey`](https://www.w3.org/TR/webauthn-3/#dom-authenticatorattestationresponsejson-publickey) and [`publicKeyAlgorithm`](https://www.w3.org/TR/webauthn-3/#dom-authenticatorattestationresponsejson-publickeyalgorithm) were added to [`AuthenticatorAttestationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticatorattestationresponsejson) in order to [easily access credential data](https://www.w3.org/TR/webauthn-3/#sctn-public-key-easy). Attestation can also occur during authentication and is why [`AuthenticatorAssertionResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticatorassertionresponsejson) has a field for [`attestationObject`](https://www.w3.org/TR/webauthn-3/#dom-authenticatorassertionresponsejson-attestationobject). Does it not make sense to also add `publicKey` and `publicKeyAlgorithm`—`publicKeyAlgorithm` would _not_ be required like it is for `AuthenticatorAttestationResponseJSON`—to `AuthenticatorAssertionResponseJSON` as well?

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


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

Received on Wednesday, 24 July 2024 02:00:09 UTC