Add EdDSA/Ed25519 to WebAuthn Signature algorithms
closes #15000 Signed-off-by: Takashi Norimatsu <takashi.norimatsu.ws@hitachi.com>
This commit is contained in:
parent
f117210585
commit
2f35d0e346
2 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,7 @@ const SIGNATURE_ALGORITHMS = [
|
|||
"RS256",
|
||||
"RS384",
|
||||
"RS512",
|
||||
"Ed25519",
|
||||
"RS1",
|
||||
] as const;
|
||||
const ATTESTATION_PREFERENCE = [
|
||||
|
|
|
@ -321,6 +321,9 @@ public class WebAuthnRegister implements RequiredActionProvider, CredentialRegis
|
|||
case Algorithm.RS512 :
|
||||
algs.add(COSEAlgorithmIdentifier.RS512.getValue());
|
||||
break;
|
||||
case Algorithm.Ed25519:
|
||||
algs.add(COSEAlgorithmIdentifier.EdDSA.getValue());
|
||||
break;
|
||||
case "RS1" :
|
||||
algs.add(COSEAlgorithmIdentifier.RS1.getValue());
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue