Skip to content

Commit 77a965f

Browse files
PIN UV Auth Protocol One: Override pubkey alg to -25
1 parent 877e09d commit 77a965f

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)