Skip to content

Commit 25de93f

Browse files
Merge pull request #64 from AlfioEmanueleFresta/token2-alg
Fix #59: PIN UV Auth Protocol One: Override pubkey alg to -25
2 parents 877e09d + 77a965f commit 25de93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libwebauthn/src/pin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ where
238238
let y: heapless::Vec<u8, 32> =
239239
heapless::Vec::from_slice(point.y().expect("Not identity nor compressed").as_bytes())
240240
.unwrap();
241-
cose::PublicKey::P256Key(cose::P256PublicKey {
241+
cose::PublicKey::EcdhEsHkdf256Key(cose::EcdhEsHkdf256PublicKey {
242242
x: x.into(),
243243
y: y.into(),
244244
})

0 commit comments

Comments
 (0)