-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove ArrayBuffer checks from WebAuthnIdentity (#857)
* fix: Remove ArrayBuffer checks from WebAuthnIdentity This PR removes `instanceof ArrayBuffer` checks from the `WebAuthnIdentity`. The reason is that these checks hide errors and cause problem in conjunction with the Bitwarden password manager (which sets these fields to `Uint8Array`). See also this issue: dfinity/internet-identity#2235 Simply removing the checks solved the issue entirely, as the fields that supposedly need to be `ArrayBuffer` are converted to `Uint8Array` anyway. This change was tested with Internet Identity and the Bitwarden extension in Chrome. * bufFromBufLike * checking presence of attestationObject instead of checking for ArrayBuffer --------- Co-authored-by: Kyle Peacock <[email protected]>
- Loading branch information
Showing
2 changed files
with
22 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters