Closed Bug 39490 Opened 24 years ago Closed 20 years ago

Cert/Key DB corruption

Categories

(NSS :: Libraries, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bugzilla, Assigned: wtc)

References

Details

This is a replacement bug for Netscape bug
http://scopus/bugsplat/show_bug.cgi?id=326272 .  It's yet another corrupted
database bug.

I have a database corruption.  This is the first one I've seen where the certdb 
was created with either 4.05 or 4.06.  The key.db that I have was created on
either 4.05 or 4.06 and is now being used in 4.5 on a win95 machine.  I recently
got a new rootca cert and after I imported it into this machine the key db
became unusable.  Here are the symptoms:

1. Import worked, and I can "view" the cert (after selecting from the 2 options)
2. If I try to go to a protected website, I'm asked to select the cert but after
I select it I'm never asked to unlock the key db and the browser does nothing.
3. If I try to export it, I can select the cert I want to export, but then I get
the error "Unable to export certificates. An error occured attempting to export
the certificates."

I'll put the cert & key dbs somewhere that you can get to them when you have a
chance to look at this.  I'll update this bug with the location shortly.

------- Additional Comments From nims  09/29/98 08:47 ------- 

The files are at:

http://rocknroll/users/nims/publish/bugs/326272/key3.db
http://rocknroll/users/nims/publish/bugs/326272/cert7.db

Contact me when you're ready to look at this and I'll provide the password.

------- Additional Comments From shadow  10/01/98 09:52 ------- 

I've been able to corrupt my cert database too.  It happened during a crash
while reading SSL/IMAP mail, the browser crashed and now I can no longer do any
cert-auth opertations without crashing communicator.

When a site (either website or mail server) requests cert-auth, my browser
crashes without asking me for cert db password.
There are many full-circle calls in from my machine while trying access my cert
db.

I have copies my corrupted key3.db and cert7.db to /u/shadow/bugsplat/326272. 
Call me when you need the password to it.

------- Additional Comments From lord  Jun-03-1999 21:26 ------- 

Assigning this to Fred so we can keep all the cert/key DB corruption test cases 
together.


------- Additional Comments From ddrinan  Aug-18-1999 18:39 ------- 

Mass targeting to M12. 

------- Additional Comments From lord  Sep-08-1999 18:08 ------- 

Moving to 1.1
Set Target Milestone 4.0.
Assignee: lord → wtc
Target Milestone: --- → 4.0
Status: NEW → ASSIGNED
QA Contact: lord → sonmi
Changed the QA contact to Bishakha.
QA Contact: sonja.mirtitsch → bishakhabanerjee
I think the test cases refer to versions of NSS in Communicator hat are too old
 to be able to reproduce now. I think the move of the DB code to softoken
changes the story quite a bit, so I think we should close this bug as either
INVALID or WONTFIX. Wan-Teh, if you agree, please do so.
Marked the bug WONTFIX.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.