- From: Emil Lundberg via GitHub <sysbot+gh@w3.org>
- Date: Wed, 10 Jan 2024 11:00:37 +0000
- To: public-webauthn@w3.org
I don't think a minor convenience improvement is worth breaking the pattern and making user handles behave differently from all other binary values. In my own software development experience, _exceptions_ (AKA broken invariants) _are the root of (almost) all evil_. I don't think this exception seems valuable enough to defy that principle. Also in my own experience developing apps around WebAuthn, I find it convenient enough to just use the base64 encoding of the user handle as the canonical representation of it - not least because strings in JavaScript can be compared using the `===` operator while `Uint8Array`s cannot. I don't think it needs special treatment just in case its binary form also happens to be human-readable. -- GitHub Notification of comment by emlun Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2013#issuecomment-1884629109 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 10 January 2024 11:00:40 UTC