The default bug view has changed. See this FAQ.

certutil -K doesn't report the token and slot names for found keys

RESOLVED FIXED in 3.12.1

Status

NSS
Tools
P2
normal
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: Nelson Bolyard (seldom reads bugmail), Assigned: Nelson Bolyard (seldom reads bugmail))

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 331594 [details] [diff] [review]
patch v1

The command certutil -K -h all 
goes through all the slots, one by one, and for each slot, it reports any 
keys it finds or reports "no keys found" if it finds none.  But it doesn't 
print out the names of the slots and tokens as it goes, so one cannot tell
from the output which token or slot contains each of the listed keys.

The attached patch improves this.
Attachment #331594 - Flags: review?(julien.pierre.boogz)

Comment 1

9 years ago
Comment on attachment 331594 [details] [diff] [review]
patch v1

This is fine, although the PR_fprintf is not really necessary in the else case (slot != NULL) .
Attachment #331594 - Flags: review?(julien.pierre.boogz) → review+
(Assignee)

Updated

9 years ago
Priority: -- → P2
Questions:
Does certutil -K work (meaningfully) on the 3.11 branch? 
And if so, should this patch be carried back to that branch>
cmd/certutil/certutil.c; new revision: 1.141; previous revision: 1.140
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.