feat: v1.9.1
This commit is contained in:
@@ -24,7 +24,7 @@ pub fn generate_se_p256_keypair() -> XResult<(String, String)> {
|
||||
return simple_error!("Secure enclave is not supported.");
|
||||
}
|
||||
let key_material =
|
||||
swift_secure_enclave_tool_rs::generate_ecdsa_keypair(KeyPurpose::KeyAgreement, true)?;
|
||||
swift_secure_enclave_tool_rs::generate_keypair(KeyPurpose::KeyAgreement, true)?;
|
||||
Ok((
|
||||
hex::encode(&key_material.public_key_point),
|
||||
STANDARD.encode(&key_material.private_key_representation),
|
||||
|
||||
Reference in New Issue
Block a user