Closed
Bug 213359
Opened 22 years ago
Closed 18 years ago
enhance PK12util to extract certs from p12 file
Categories
(NSS :: Tools, enhancement, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.12
People
(Reporter: nelson, Assigned: neil.williams)
References
(Depends on 1 open bug)
Details
Attachments
(2 files)
5.40 KB,
patch
|
Details | Diff | Splinter Review | |
4.62 KB,
patch
|
Details | Diff | Splinter Review |
PK12util today can do only two things:
1. import a cert chain from a .p12 file to a cert/key DB pair, or
2. export a cert chain from a cert/key DB pair to a .p12 file.
We have no tool that will take a .p12 file and
3. list a summary of the file's contents, (e.g. 1 line or 2 per cert)
4. list all the certs in that file in detail
5. extract the certs from that file into separate cert files.
Such a tool would be very helpful for support purposes.
Reporter | ||
Comment 1•20 years ago
|
||
This RFE requests several new features of pk12util.
I now think that I should file separate bugs about each one.
So, I have created bug 280602 about the detailed list of p12 file contents.
I will shortly file bugs for the other 2 features as well.
Depends on: 280602
Reporter | ||
Updated•20 years ago
|
QA Contact: bishakhabanerjee → jason.m.reid
Reporter | ||
Updated•19 years ago
|
Assignee: wtchang → nobody
QA Contact: jason.m.reid → tools
Reporter | ||
Comment 2•19 years ago
|
||
pk12util now does list the contents, in detail.
The cert extraction feature remains to be done.
It should be a variant of the -l (list) feature.
Assignee: nobody → neil.williams
Summary: enhance PK12util to list contents or extract cert from p12 file → enhance PK12util to extract certs from p12 file
Reporter | ||
Updated•19 years ago
|
Priority: -- → P2
Target Milestone: --- → 3.12
Assignee | ||
Comment 3•18 years ago
|
||
I'll be reviewing this again before asking for a real review.
Reporter | ||
Comment 5•18 years ago
|
||
Neil, After speaking with you Friday, I wrote a patch that implemented the
feature and attached it to bug 371468, and requested your review of that
patch. Apparently you didn't notice that before writing your patch today.
Please look at bug 371468, and the patch attached to it, and let me know
which of the two patches you think is better, and why. Thanks.
Assignee | ||
Comment 6•18 years ago
|
||
Nelson, I like yours because it's more concise. The only functional difference between the two is that your version creates the files with "...| PR_TRUNCATE, 0600)" and mine with "..., 0660)". I'd change the filename, though, so it has "cert" in it somewhere.
Reporter | ||
Comment 7•18 years ago
|
||
This is the patch to which Neil gave r+ in bug 371468
Reporter | ||
Comment 8•18 years ago
|
||
Thanks for the review Neil.
Committed on trunk.
Checking in pk12util.c; new revision: 1.37; previous revision: 1.36
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•