Any updates on the bug ?
Same issue.
Sequoia 15.4.1 (24E263)
OpenSSL 3.4.0
Steps for repoducing:
Create .p12 without password
openssl genpkey -algorithm RSA -out private_key.pem
openssl req -new -key private_key.pem -out csr.pem
openssl x509 -req -days 365 -in csr.pem -signkey private_key.pem -out certificate.pem
openssl pkcs12 -export -out bundle.p12 -inkey private_key.pem -in certificate.pem
Import .p12 to a keychain
import "bundle.p12" "-k" "login.keychain" "-T" "/usr/bin/codesign" "-P" ""
And voila you've got the bug:
security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)
Topic:
Privacy & Security
SubTopic:
General
Tags: