Make it easy to load certificates and keys from files

NEW
Unassigned

Status

NSS
Libraries
4 years ago
11 months ago

People

(Reporter: Miloslav Trmač, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
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).
(Reporter)

Updated

4 years ago
Depends on: 402712

Updated

4 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.