Re: [webauthn] Provide the public key in `AuthenticatorAttestationResponse` (#1363)

(@CrazyChris75 this issue is closed so people might not see your updates.)

This line gives me pause:

> byte[] clientDataJSON = Base64UrlUtil.decode(json.getAsString("response.clientDataJSON"));

`clientDataJSON` is an ArrayBuffer that contains the JSON [directly](https://w3c.github.io/webauthn/#iface-authenticatorresponse), i.e. not base64url encoded. Are you encoding the Javascript object yourself? Are you sure that the encoder is using base64url, not base64?

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


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

Received on Friday, 25 September 2020 19:28:25 UTC