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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

richardhenry
Copy link

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.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant