Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

lost key4.db file

  • 2 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 26 views
  • Last reply by Stéphane

My key4.db file went corrupted: no entry in the nssPrivate table! I don't have any backup of that file nor can I use 'Previous version' from Windows. I know the master password. Is there any way to recover my 280 logins/passwords from logins.json without the key4.db file? Thanks in advance for your help, Stéphane.

My key4.db file went corrupted: no entry in the nssPrivate table! I don't have any backup of that file nor can I use 'Previous version' from Windows. I know the master password. Is there any way to recover my 280 logins/passwords from logins.json without the key4.db file? Thanks in advance for your help, Stéphane.

All Replies (2)

Key4.db is a SQLite database, you can possibly check this file is a SQLite database manager utility.

If you have been using Firefox for a very long time (i.e . have used version 57 or older) and you haven't changed the master password then you may have a key3.db file with a working encryption key. Firefox 71 can still fallback to key3.db if key4.db isn't present. Otherwise I'm afraid that the passwords are lost if you can't find matching logins.json and key4.db files

Unfortunately no key3.db is present. key4.db is corrupted: no line in nssPrivate table. I have tried to restore the file from system restore point but no luck; the file is corrupted too... I'm afraid I won't be able to solve this problem. Still hoping someone can help.