Skip to content

Commit a5e0d97

Browse files
committed
Fido: Add missing algorithm id
Fixes usage of hardware keys with PIN protection
1 parent fdf89fd commit a5e0d97

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • play-services-fido/core/src/main/kotlin/org/microg/gms/fido/core/protocol

play-services-fido/core/src/main/kotlin/org/microg/gms/fido/core/protocol/Cbor.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ fun getAlgorithm(algorithmInt: Int): Algorithm {
7878
-37 -> RSAAlgorithm.PS256
7979
-36 -> EC2Algorithm.ES512
8080
-35 -> EC2Algorithm.ES384
81+
-25 -> EC2Algorithm.ECDH_HKDF_256
8182
-7 -> EC2Algorithm.ES256
8283

8384
else -> Algorithm { algorithmInt }

0 commit comments

Comments
 (0)