Closed Nathan-Heller closed 2 years ago
Having this same problem...
Hey, thank you for the bugreport. It's indeed not working when the passphrase is empty, we'll take a look and fix it. I can't provide an ETA, but in the meantime please use a certificate with a password as a workaround (which is a good security practice in itself).
@ofalvai Hi.
Is this error related to the current one?
Automatic code signing failed: failed to install codesigning files: failed to install certificate: security set-key-partition-list -S apple-tool:,apple: -k ***** /Users/[REDACTED]/Library/Keychains/login.keychain-db failed: security: SecKeychainItemSetAccessWithPassword: The user name or passphrase you entered is not correct.
Update:
It seems that this error is reproduced only on Xcode 13.3.x on MacOS 12.2(Monterey)
Everything is OK on Xcode 13.2.x on MacOS 12.0(Monterey)
This issue is now fixed in the latest version of the step.
Great, thanks!
Troubleshooting
Useful information
Issue description
This step expects a passphrase to be provided with the .p12 certificate, but that passphrase isn't REQUIRED to be provided during passphrase generation. This leads to passphraseless certs being unusable.
NOTE: I have replaced our old certificate with a new one that was generated with a passphrase as a workaround.
Bitrise info
Steps to reproduce