I encountered a nasty bug while importing a PKCS12 file that doesn't contain a friendly name. I am testing a PKCS #10 provider that I am developing and I try to import the PKCS12 file into the token of my provider. The first time is successfull with Firefox generating an internal nickname of "Imported Certificate". The second import throws Firefox into an endless loop. The problem is that Firefox generates a nickname by looking in the internal token to see if the nickname is unique, then when importing into my token it realizes the nickname is not unique, retries generating a nickname but it is the same as last time, etc.
The problem is occurring in sec_pkcs12_validate_cert_nickname() I will enter a bug for this if one doesn't already exist but I am having problems accessing https://bugzilla.mozilla.org/ _______________________________________________ mozilla-crypto mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-crypto
