feat: v1.2.0, support macos secure enclave

This commit is contained in:
2023-12-09 13:58:30 +08:00
parent a8b2fc62b8
commit 42bc09fe07
9 changed files with 79 additions and 71 deletions

View File

@@ -57,7 +57,6 @@ func computeSecureEnclaveP256Ecdh(privateKeyDataRepresentation: SRString, epheme
let sharedSecret = try p.sharedSecretFromKeyAgreement(
with: ephemeralPublicKey)
print("Shared secret: \(sharedSecret)")
return SRString("ok:\(sharedSecret.description)")
} catch {