feat: v1.13.1
This commit is contained in:
@@ -55,8 +55,9 @@ fn fetch_public_key(parameter: &str, serial_opt: &Option<&str>) -> XResult<Vec<u
|
||||
if key.usage != KeyUsage::Singing {
|
||||
simple_error!("Not singing key")
|
||||
} else {
|
||||
let private_key = cmd_hmac_decrypt::try_decrypt(&key.private_key)?;
|
||||
let (_, public_key_der, _) =
|
||||
seutil::recover_secure_enclave_p256_public_key(&key.private_key, true)?;
|
||||
seutil::recover_secure_enclave_p256_public_key(&private_key, true)?;
|
||||
Ok(public_key_der)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user