Open
Bug 695043
Opened 13 years ago
Updated 6 months ago
[FEATURE] need certDB.exportPKCS12File() with password parameter
Categories
(Core :: Security, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: andpol28325, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:7.0) Gecko/20100101 Firefox/7.0 Build ID: 20110922153450 Steps to reproduce: I am writing an extension that exports PKCS12 file, sends it to a REST API and returns formatted certificates and keys (over SSL). There is no other way to export the PKCS12 (that I have found after extensive searching) other than the built in API call: <code> void exportPKCS12File (in nsISupports aToken, in nsILocalFile aFile, in unsigned long count,[array, size_is(count)] in nsIX509Cert aCerts)</code> This function call brings up a password prompt of it's own and is embedded into the .cpp code (see https://github.com/hep-gc/grid-cert-export/issues/7 for links to source code). It would be beneficial if an API call could be added or modified to include an optional password parameter (or bring up password prompt if null?). Actual results: Currently my extension needs to prompt the user for the PKCS12 password 3 times, once so I can send the request to the REST server, and then two more times for the built-in password prompt. This process confuses users because other passwords for keys and such need to be requested, and results in a less useable UI. Expected results: A password parameter would allow extension developers to prompt the user for a password in any context they desire, then pass that password to exportPKCS12File() as a parameter.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•