Bug 636859 - nss: certutil not properly listing system nssdb when sysinit is enabled
Summary: nss: certutil not properly listing system nssdb when sysinit is enabled
Keywords:
Status: CLOSED DUPLICATE of bug 633043
Alias: None
Product: Fedora
Classification: Fedora
Component: nss
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Elio Maldonado Batiz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-23 13:57 UTC by Tomas Hoger
Modified: 2011-03-03 18:13 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-03-03 18:13:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 633043 0 low CLOSED nss trusts CAs it shouldn't 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 633403 0 low CLOSED [6.1 FEAT] snIPL enhancement to trigger SCSI dump on remote container 2021-02-22 00:41:40 UTC

Internal Links: 633043 633403

Description Tomas Hoger 2010-09-23 13:57:09 UTC
Description of problem:
When nss-sysinit is enabled, certutil -L show incorrect / incomplete info when trying to list contents of sql:/etc/pki/nssdb/ database.


I created system nssdb with the following content:
- added and later removed trusted certificate named cacert.org
- added trusted certificate named test-ca

Listing the content of it with sysinit disabled returns:

$ certutil -L -d sql:/etc/pki/nssdb/

Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI

test-ca                                                      CT,C,C


I created user nssdb with the following content:
- added untrusted certificate named cacert.org (the same one that was added to and later removed from system nssdb)

Listing of the db is:

$ certutil -L -d sql:$HOME/.pki/nssdb

Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI

cacert.org                                                   ,,  


After enabling nss-sysinit, output for system nssdb changes to:

$ certutil -L -d sql:/etc/pki/nssdb/

Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI

cacert.org                                                   CT,C,C


test-ca is not listed.  cacert.org is listed as trusted, even though it has been deleted already (this problem is already covered by bug #633043).


Version-Release number of selected component (if applicable):
nss-3.12.7-6.fc13

Comment 1 Elio Maldonado Batiz 2011-01-23 22:57:02 UTC
I believe this is the same as Bug 633403. The reproduction/verification steps for than one are essentially the same as what's described here. See https://admin.fedoraproject.org/updates/nss-3.12.9-2.fc14

Comment 2 Elio Maldonado Batiz 2011-01-23 22:58:15 UTC

*** This bug has been marked as a duplicate of bug 633403 ***

Comment 3 Tomas Hoger 2011-01-24 07:59:05 UTC
(In reply to comment #2)
> *** This bug has been marked as a duplicate of bug 633403 ***

Bug #633403 seems unrelated, I suspect you wanted to dupe against bug #633043.

Comment 4 Kai Engert (:kaie) (inactive account) 2011-03-03 18:13:26 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > *** This bug has been marked as a duplicate of bug 633403 ***
> 
> Bug #633403 seems unrelated, I suspect you wanted to dupe against bug #633043.

Reopening to fix this...

Comment 5 Kai Engert (:kaie) (inactive account) 2011-03-03 18:13:49 UTC

*** This bug has been marked as a duplicate of bug 633043 ***


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