Consider adding local-account ID into the userHandle
of the passkey
#3
Labels
enhancement
New feature or request
userHandle
of the passkey
#3
The
user.id
(akauserHandle
) of a passkey is currently filled with the 32 bytes of the IV/seed value for the key, as well as 2 bytes for a counter. This leaves 30 bytes (max is 64 bytes) available.Currently, the only linkage between a passkey credential and its local-account is via the
localStorage
entries. But if we put theaccountID
into theuser.id
/userHandle
field pin those remaining 30 bytes, then a local-account ID is retrievable from any passkey authentication (even if thelocalStorage
entry has been lost -- although that loss would have dropped the initial public-key for the credential, so verifications would no longer be possible).Advantages:
localStorage
)localStorage
-- although it likely would still be stored there for public-key verification purposesDisadvantages:
userHandle
values.The text was updated successfully, but these errors were encountered: