On Jul 6, 2010, at 2:38 PM, Brian Marick wrote:
> I'm trying to export the private key part of a a Keychain identity. I
> invariably get status -25260,
> "Passphrase is required for import/export." That happens in the below whether
> or not I give kSecKeySecurePassphrase to have the user asked
Thanks to Greg Guerin, I found out about security(1). I notice that it seems to
have the same issue:
$ security export -k "my.keychain" -t privKeys
security: SecKeychainItemExport: Passphrase is required for import/export.
$ security export -k "my.keychain" -t privKeys -P "sesses"
security: SecKe
I'm trying to export the private key part of a a Keychain identity. I
invariably get status -25260,
"Passphrase is required for import/export." That happens in the below whether
or not I give kSecKeySecurePassphrase to have the user asked for the password
or supply it myself.
CFDataRef expo