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

Passkey object is not of type PublicKeyCredential #2173

Closed
m-baertschi opened this issue Apr 17, 2024 · 1 comment · Fixed by #2178
Closed

Passkey object is not of type PublicKeyCredential #2173

m-baertschi opened this issue Apr 17, 2024 · 1 comment · Fixed by #2178
Labels

Comments

@m-baertschi
Copy link

Expected Behavior

When a new Passkey is registered with "navigator.credentials.create()" the returned type should be "PublicKeyCredential" and the response of type "AuthenticatorAttestationResponse". Some Websites fail or expect options that are otherwise not available.

The Webauthn Standart is very clear that the return object type must be verified. See point 3 of section 7.1: https://www.w3.org/TR/webauthn-2/#sctn-registering-a-new-credential

Current Behavior

The currently returned object by the extension does not pass the check "instanceof PublicKeyCredential".

Possible Solution

The returned Objects must have the correct prototype hierarchy.

Debug info

KeePassXC-Browser - 1.9.0.3
Operating system: Linux
Browser: Firefox

@varjolintu
Copy link
Member

I'm aware of this. Fixing soon.

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

Successfully merging a pull request may close this issue.

2 participants