Closed
Bug 1331867
Opened 9 years ago
Closed 9 years ago
nss db --list-certs creates db
Categories
(NSS :: Tools, defect)
NSS
Tools
Tracking
(Not tracked)
RESOLVED
FIXED
3.30
People
(Reporter: franziskus, Assigned: stefan.gschiel.sg)
Details
Calling nss db --list-certs creates a database in the the directory it's looking. That's unexpected as the command says list-certs. I'd expect the command to warn me that there is no db in the provided path.
Comment 1•9 years ago
|
||
How about adding a "nss db --create --path /foo/bar" command? And never creating a DB automatically? That seems like a reasonable behavior.
| Assignee | ||
Comment 2•9 years ago
|
||
Ok will make a patch for it.
The database files are created by NSS_Initialize, I think.
And for the nss db --list-certs I could use NSS_Initialize with NSS_INIT_READONLY.
Or is there some better function than NSS_Initialize for just creating the database files?
Comment 3•9 years ago
|
||
(In reply to stefan.gschiel.sg from comment #2)
> And for the nss db --list-certs I could use NSS_Initialize with
> NSS_INIT_READONLY.
Sounds good.
> Or is there some better function than NSS_Initialize for just creating the
> database files?
Unfortunately not. At least I'm somewhat sure there aren't.
Updated•9 years ago
|
Status: NEW → ASSIGNED
Comment 4•9 years ago
|
||
Target Milestone: --- → 3.29
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: 3.29 → 3.30
You need to log in
before you can comment on or make changes to this bug.
Description
•