Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify the valid values for user handle in the Authentication Assertion #1723

Closed
lykahb opened this issue Apr 25, 2022 · 1 comment
Closed

Comments

@lykahb
Copy link

lykahb commented Apr 25, 2022

The 5.4.3. User Account Parameters for Credential Generation requires that the user handle must not be an empty string.
However, the 5.2.2. Web Authentication Assertion (interface AuthenticatorAssertionResponse) does not explicitly say if userHandle may be an empty string. I would infer that it must be either null, or the same value as passed under PublicKeyCredentialUserEntity when registering.

At the moment not all browsers have consistent behavior. For my authenticator (YubiKey) Firefox and Chromium always return userHandle: null. However, Safari returns userHandle: "". I opened a bug report for Safari based on my understanding of the authentication part of the WebAuthn spec.

@lykahb
Copy link
Author

lykahb commented Apr 25, 2022

Duplicating #1722

@lykahb lykahb closed this as completed Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant