WebAuthn conformance: Binary properties in responses should be ArrayBuffer
s, not Uint8Array
s
#11079
Open
1 task done
ArrayBuffer
s, not Uint8Array
s
#11079
Steps To Reproduce
Expected Result
Login succeeds
Actual Result
Login fails
Screenshots or Videos
No response
Additional Context
The WebAuthn specification clearly states that
ArrayBuffer
is used to represent binary properties in credential responses. However Bitwarden usesUint8Array
instead which is nonconformant and confuses certain applications that require the type of such properties to beArrayBuffer
specifically (e.g. Yandex, 1Password web app, etc.)Code exhibiting nonconformant behavior:
clients/apps/browser/src/autofill/fido2/utils/webauthn-utils.ts
Lines 61 to 89 in b0e0e71
clients/apps/browser/src/autofill/fido2/utils/webauthn-utils.ts
Lines 123 to 135 in b0e0e71
Operating System
Linux
Operating System Version
No response
Web Browser
Chrome
Browser Version
No response
Build Version
2024.9.0
Issue Tracking Info
The text was updated successfully, but these errors were encountered: