Rework Recipient to wrap p256::PublicKey
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ impl IdentityBuilder {
|
||||
|
||||
let recipient = match &generated {
|
||||
PublicKeyInfo::EcP256(pubkey) => {
|
||||
Recipient::from_pubkey(*pubkey).expect("YubiKey generates a valid pubkey")
|
||||
Recipient::from_encoded(pubkey).expect("YubiKey generates a valid pubkey")
|
||||
}
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user