bitrise-steplib / steps-certificate-and-profile-installer

steps-certificate-and-profile-installer
MIT License
13 stars 17 forks source link

Two certificates, both with empty passphrase gives error #61

Closed paramaggarwal closed 3 years ago

paramaggarwal commented 3 years ago

Certificate url count: (2), not equals to Certificate Passphrase count: (1)

It gets two certificates configured from the Code Signing tab, but then both passphrase are empty. Hence it thinks it got only one passphrase and this causes build failure.

Even though the code seems to be attempting to handle this, it doesn't seem to work when both passphrase are empty. https://github.com/bitrise-steplib/steps-certificate-and-profile-installer/blob/2bba6a2304ffd0abfdf440d79b1e4fa261a31517/main.go#L356-L361

paramaggarwal commented 3 years ago

Apologies. If anyone else encounters this error, please make sure you are passing the PASSPHRASE env corrently. The following was missing for me.

Screenshot 2020-11-27 at 9 57 54 PM