This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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 odgovori
  • 1 ima ovaj problem
  • 26 views
  • Posljednji odgovor poslao Stéphane

more options

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)

more options

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

more options

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.