Re: [webauthn] Make AuthenticatorAttestationResponseJSON.publicKeyAlgorithm a long (#2065)

Thanks for pointing this out!

2024-05-15 WG call: [`AuthenticatorAttestationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticatorattestationresponsejson) was added in the L3 drafts, so we can easily change [`AuthenticatorAttestationResponseJSON.publicKeyAlgorithm`](https://www.w3.org/TR/webauthn-3/#dom-authenticatorattestationresponsejson-publickeyalgorithm) to type `long` (or `COSEAlgorithmIdentifier`) since L3 isn't formally released yet. [`AuthenticatorAttestationResponseJSON.publicKeyAlgorithm`](https://www.w3.org/TR/webauthn-3/#dom-authenticatorattestationresponsejson-publickeyalgorithm) is also in output (covariant) position, so changing its type to be more restrictive is even backwards compatible.

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


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

Received on Wednesday, 15 May 2024 20:16:40 UTC