mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-15 06:09:07 +02:00
feat: use WebAuthn recommended passkey algorithms (#1841)
This commit is contained in:
@@ -99,6 +99,7 @@ func (s *Service) BeginRegistration(ctx context.Context, dbConfig *appconfig.App
|
|||||||
UserVerification: userVerificationRequirement(dbConfig),
|
UserVerification: userVerificationRequirement(dbConfig),
|
||||||
}),
|
}),
|
||||||
gowebauthn.WithResidentKeyRequirement(protocol.ResidentKeyRequirementRequired),
|
gowebauthn.WithResidentKeyRequirement(protocol.ResidentKeyRequirementRequired),
|
||||||
|
gowebauthn.WithCredentialParameters(gowebauthn.CredentialParametersPQCRecommendedL3()),
|
||||||
gowebauthn.WithExclusions(user.WebAuthnCredentialDescriptors()),
|
gowebauthn.WithExclusions(user.WebAuthnCredentialDescriptors()),
|
||||||
gowebauthn.WithExtensions(gowebauthn.WithExtensionCredProps()), // Required for Firefox Android to properly save the key in Google password manager
|
gowebauthn.WithExtensions(gowebauthn.WithExtensionCredProps()), // Required for Firefox Android to properly save the key in Google password manager
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user