Bug 642787 - RFE: add PKCS#12 support
Summary: RFE: add PKCS#12 support
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nss
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: John Dennis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-13 20:19 UTC by Rob Crittenden
Modified: 2013-01-10 06:16 UTC (History)
3 users (show)

Fixed In Version: python-nss-0.12
Clone Of:
Environment:
Last Closed: 2012-10-05 16:51:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rob Crittenden 2010-10-13 20:19:19 UTC
Description of problem:

It would be nice if python-nss supported PKCS#12 files. I'd need the following:

* given a cert and key, create a PKCS#12 object with an optional password
* be able to export the object to a file or buffer
* given a PKCS#12 file (or buffer) create a PKCS#12 object, password optional
* be able to pull the cert and private key from the object

Also nice:

* be able to add/remove arbitrary CA certs to the PKCS#12 object
* set/get the friendlyname on certs

I'd be fine if file I/O was left as an exercise for the user, I'd probably just deal with buffers myself.

Comment 1 Bug Zapper 2010-11-03 09:31:23 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 John Poelstra 2010-11-03 20:39:14 UTC
this is an RFE... adding FutureFeature and moving to rawhide so it doesn't get autoclosed.

Comment 3 John Dennis 2012-10-05 16:51:41 UTC
PKCS12 support was added in 0.12.

The only limitation is you can't extract a private key. This is by design in NSS. There are however clever ways this limitation could be worked around, if that is an issue then lets open a bug specific to private key extraction in pkcs12.


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