feat: v1.9.1

This commit is contained in:
2025-03-24 01:16:33 +08:00
parent 84ee9d1b34
commit d831b606cd
3 changed files with 6 additions and 6 deletions

View File

@@ -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),