[webauthn] Can PublicKeyCredentialUserEntity.id be null? (#1702)

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

== Can PublicKeyCredentialUserEntity.id be null? ==
Hi, I have recently been looking at bugs related to null user handle. The user handle in the response is clearly required, but the I'm a little unclear if PublicKeyCredentialUserEntity.id can be specified as null. The text in the spec says 

> The [user handle](https://www.w3.org/TR/webauthn-2/#user-handle) MUST NOT be empty, though it MAY be null.

and 

> required [BufferSource](https://heycam.github.io/webidl/#BufferSource)   [id](https://www.w3.org/TR/webauthn-2/#dom-publickeycredentialuserentity-id);

Am I correct in understanding that an RP cannot pass a null PublicKeyCredentialUserEntity.id and the text in the spec only refers to userHandleResult possibly being null?

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


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

Received on Wednesday, 23 February 2022 20:26:18 UTC