Post

Replies

Boosts

Views

Activity

SecPKCS12Import passphrase usage
I'm using SecPKCS12Import to import an identity into macOS keychain. As part of that we pass this kSecImportExportPassphrase. While I believe (correct me if I'm wrong) the password is used to decrypt stuff from the PKCS12 blob we are passing to this function, is there any other purpose for this password? Meaning, do we need to keep a copy of this password after the import is done? Does it somehow associate itself with the keychain items we just imported like do we need it at a later point in time to access the items we just imported?
1
0
414
Jul ’23