Last Comment Bug 924404 - Make it easy to load certificates and keys from files
: Make it easy to load certificates and keys from files
Status: NEW
:
Product: NSS
Classification: Components
Component: Libraries (show other bugs)
: 3.15.1
: All All
: -- normal (vote)
: ---
Assigned To: nobody
:
Mentors:
Depends on: 402712
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-08 07:52 PDT by Miloslav Trmač
Modified: 2013-10-16 13:13 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Miloslav Trmač 2013-10-08 07:52:46 PDT
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release)
Build ID: 20130917102605

Steps to reproduce:

#402712 proposes adding a PEM handling software token to NSS.

Please add helper functions that make it easy to use the token, ideally completely hiding its existence: applications shouldn't need to know about magic token names, special nickname handling, and the like.  (See the NSS code in curl - it's dozens of lines.)

The functions should also probably allow directly specifying a PEM passphrase, bypassing the token login mechanism (in particular, avoiding the global state set by PK11_SetPasswordFunc so that libraries can use the PEM token without affecting the main application).

Note You need to log in before you can comment on or make changes to this bug.