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

fix(protocol-kit): Fix non-ArrayBuffer passkey signature error (#1054) #1094

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

richardhenry
Copy link

@richardhenry richardhenry commented Jan 8, 2025

Some non-standards compliant password managers (including Bitwarden) provide the passkey signature as a Uint8Array or as an Array of numbers instead of an ArrayBuffer.

This causes a "First argument to DataView constructor must be an ArrayBuffer" error in extractSignature.

This change makes this code robust to such password managers.

Solves #1054

Copy link

github-actions bot commented Jan 8, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@richardhenry
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@dasanra dasanra changed the base branch from main to development January 14, 2025 10:26
@dasanra dasanra linked an issue Jan 14, 2025 that may be closed by this pull request
@dasanra dasanra merged commit ade2a9b into safe-global:development Jan 15, 2025
18 of 19 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Passkey signer error when using Bitwarden extension
2 participants