From 318d3aaaca90a1cb7ef97bb730831702dc9fcc8d Mon Sep 17 00:00:00 2001 From: Danny Cho Date: Wed, 21 Jun 2023 16:10:11 +1200 Subject: [PATCH] fix: fido2 change to support android webauthn --- packages/biometric-ed25519/src/fido2.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/biometric-ed25519/src/fido2.ts b/packages/biometric-ed25519/src/fido2.ts index 7c28afd15c..a9fd4d9a39 100644 --- a/packages/biometric-ed25519/src/fido2.ts +++ b/packages/biometric-ed25519/src/fido2.ts @@ -11,10 +11,10 @@ export class Fido2 { rpName, challengeSize: 128, attestation: 'none', - cryptoParams: [-8, -7], + cryptoParams: [-8, -7, -257], authenticatorAttachment: 'platform', authenticatorRequireResidentKey: true, - authenticatorUserVerification: 'discouraged' + authenticatorUserVerification: 'preferred' }); }