Post not yet marked as solved
Post marked as unsolved with 10 replies, 1,362 views
We are trying to programmatically get a private key, which was previously added manually, from the keychain. When we try to use SecKeyCopyExternalRepresentation, we get an OSStatus of -25260 (errSecPassphraseRequired). We tried setting the private key to allow all apps to access, but it didn't help. Does anyone know how to resolve this issue? We are on macOS 10.15.