-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
generateRegistrationOptions typings don't allow attestationType: "indirect" #657
Comments
Hello @jviide, I apologize for making trouble for you by omitting Can I ask you about how you're benefitting from indirect attestation? How are you establishing trust in the responses you're getting with the amount of agency indirect attestation gives browsers? In the meantime I'll add back in |
Hello, and no apologies needed! This did not cause any major headache for us, and we reported this just in case it was not an intentional change. We use SimpleWebAuthn in the specific context of offering passkey logins to our service. During the implementation we tried to decide between However we opportunistically suggest names (that the users can then edit) for newly registered passkeys based on their AAGUIDs whenever possible. We noticed that
In the end both |
Hello @jviide, I've gone ahead and added a breaking change to the release notes for the dropping of support for https://github.com/MasterKale/SimpleWebAuthn/releases/tag/v13.0.0 |
Describe the issue
Version 13.0.0's typings do not allow giving
attestationType: "indirect"
as an option forgenerateRegistrationOptions
. This was encountered when upgrading from v10, which allowed the value"indirect"
.Reporting here in case this is was an unintentional change, as it was not documented in release notes.
Expected behavior
I suggest either of two actions:
generateRegistrationOptions
typings to acceptattestationType: AttestationConveyancePreference
.SimpleWebAuthn Libraries
$ pnpm -r list --depth=0 | grep @simplewebauthn @simplewebauthn/server 13.0.0 @simplewebauthn/browser 13.0.0
Additional context
The change appears to have been made in commit 7cb7446 as a part of the pull request #653.
Thank you for this library 🙂
The text was updated successfully, but these errors were encountered: