Bug 12610

Summary: PKCS12 Password with special characters not importing into macOS keychain
Product: Network Reporter: Ian - <ian>
Component: IPsecAssignee: Jonatan Schlag <jonatan.schlag>
Status: NEW --- QA Contact: Michael Tremer <michael.tremer>
Severity: Security    
Priority: - Unknown - CC: adolf.belka
Version: unspecified   
Hardware: armv7hl   
OS: Linux   
Attachments: Screenshot of error

Description Ian - 2021-04-20 06:52:24 UTC
IPFrire Dev v156 - armv7hl (rpi3b+)

Client: macOS 11.2.3 (x86-64)

When generating a PKCS12 user certificate for IPSec, I used characters $ and ! in my password.

The resulting .p12 file continually failed to be imported into the macOS keychain, as it kept telling me that the certificate password was incorrect. I attempted it multiple times to ensure my password was in fact correct, to no avail.

Having come across this type of password incompatibility with other things previously, I decided to make a simple password with no special characters. I then created the certificate with a password without the use of special characters, I used only [a-z] and the resulting .p12 file was able to be imported into my macOS keychain.

So it seems that either '$' or '!' or both? Are currently causing issues when used in the password os the PKCS12 file.
Comment 1 Ian - 2021-05-21 14:11:34 UTC
Created attachment 900 [details]
Screenshot of error