Hello,
I'm attempting to write a bash routine that tests whether or not a user's input is the correct password to my certificate database.
Originally I imagined I'd first execute a benign certutil or pk12util operation on the certificate database that required a password. Then test the return code to see if it was successful.
However, certutil's password argument takes a password file (which is undesirable). I could use pk12util to export a certifcate and private key to test (not really happy with extra pk12 files lying around either).
Any suggestions of other methods to test the database password?
PR