Closed Bug 571242 Opened 14 years ago Closed 14 years ago

certutil -H doesn't know -W option

Categories

(NSS :: Test, defect)

3.12.6
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: elio.maldonado.batiz, Assigned: elio.maldonado.batiz)

References

Details

Attachments

(1 file)

Aleš Mareček      2010-06-10 07:05:38 EDT

Description of problem:
When you run certutil -H you can see some help describing option usage.
Unfortunately there is no "-W" option nor in the manual pages. -W should change
password for the nss database.
For more info go to web page:
http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html

Version-Release number of selected component (if applicable):
nss-tools-3.12.6-2.el6 (I suppose this problem appears in all versions)

How reproducible:
Always
Originally reprted by Aleš Mareček at
https://bugzilla.redhat.com/show_bug.cgi?id=602629

Steps to Reproduce:
1. certutil -H 2>&1 | grep "\-W" || (echo $? && echo 'Not found!')

Actual results:
-W is not described

Expected results:
-W              Change the password to a key database.

Additional info:
Assignee: nobody → emaldona
Attachment #450676 - Flags: review?(rrelyea)
Comment on attachment 450676 [details] [diff] [review]
Document use of -W Usage and LongUsage (-H)

r+ 

Wow, we have a -W command to change the password? I used to use -N, which changes the password if the selected database was already initialized!

The parameters match what the code is using r+
Attachment #450676 - Flags: review?(rrelyea) → review+
Fix checked in: Checking in ./mozilla/security/nss/cmd/certutil/certutil.c;
/cvsroot/mozilla/security/nss/cmd/certutil/certutil.c,v  <--  certutil.c
new revision: 1.148; previous revision: 1.147
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: