We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

password storage

  • 6 replies
  • 1 has this problem
  • 8 views
  • Paskiausią atsakymą parašė cor-el

Hi

Question I am redoing my computer and have considered restarting firefox at the same time being I have been on the same profile for ages and figured might be worth just restarting with a new profile.

Now I know I can import bookmarks and such into the new profile after backing them up of course.

Question I have regards passwords and log ins.

I remember some time back I had lost some files including these and was able to restore them from an old back up of the profile. I think it was 2 files.

Are these files profile specific or can they be backed up on this profile and then copied into a new profile and work OK??

Or I just saw EXPORT LOGINS if I use this will it back up all my logins and then allot me to import them into the new profile like the bookmarks back up?

Thanks

Hi Question I am redoing my computer and have considered restarting firefox at the same time being I have been on the same profile for ages and figured might be worth just restarting with a new profile. Now I know I can import bookmarks and such into the new profile after backing them up of course. Question I have regards passwords and log ins. I remember some time back I had lost some files including these and was able to restore them from an old back up of the profile. I think it was 2 files. Are these files profile specific or can they be backed up on this profile and then copied into a new profile and work OK?? Or I just saw EXPORT LOGINS if I use this will it back up all my logins and then allot me to import them into the new profile like the bookmarks back up? Thanks

Modified by scottish2

All Replies (6)

logins.json and key3.db [v58+]key4.db : These are the password files. Copy Both !


https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ +++++++++++++++++++++++++++++++++++++++++ http://www.nirsoft.net/utils/passwordfox.html (Win) PasswordFox v1.58 - Extract the usernames/passwords stored in Firefox Copyright (c) 2008 - 2017 Nir Sofer

Note: Some anti-virus show false positive. +++++++++++++++++++++++++++++++++++++++++ Easily export your passwords from Firefox. https://github.com/kspearrin/ff-password-exporter

Export your passwords from Firefox in a portable CSV or JSON format. It works on Windows, macOS, and Linux. +++++++++++++++++++++++++++++++++++++++++ 3 Tools to Decrypt and Recover Passwords Saved in Firefox • Raymond CC https://www.raymond.cc/blog/how-to-find-hidden-passwords-in-firefox/ +++++++++++++++++++++++++++++++++++++++++ https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ +++++++++++++++++++++++++++++++++++++++++ https://github.com/kspearrin/ff-password-exporter +++++++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example:

JSON file: https://support.mozilla.org/questions/1258644

CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console)


chrome://passwordmgr/content/passwordManager.xul

chrome://passwordmgr/content/passwordManager.xhtml

Back up and restore information in Firefox profiles {web link} I use an add-on that makes backups of my user profile, Just In Case. Unfortunately, it is not compatible with the current Firefox.

Every now and then, open the profile folder and create a copy of the current profile as is to another location on your hard drive. This way you will have a backup.

If you do this each day, you will not lose much data. This should be done with Firefox Closed.

Note: In case you need to restore from these backups, you may need to overwrite old or corrupted files.

FredMcD said

logins.json and key3.db [v58+]key4.db : These are the password files. Copy Both ! https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ +++++++++++++++++++++++++++++++++++++++++ http://www.nirsoft.net/utils/passwordfox.html (Win) PasswordFox v1.58 - Extract the usernames/passwords stored in Firefox Copyright (c) 2008 - 2017 Nir Sofer Note: Some anti-virus show false positive. +++++++++++++++++++++++++++++++++++++++++ Easily export your passwords from Firefox. https://github.com/kspearrin/ff-password-exporter Export your passwords from Firefox in a portable CSV or JSON format. It works on Windows, macOS, and Linux. +++++++++++++++++++++++++++++++++++++++++ 3 Tools to Decrypt and Recover Passwords Saved in Firefox • Raymond CC https://www.raymond.cc/blog/how-to-find-hidden-passwords-in-firefox/ +++++++++++++++++++++++++++++++++++++++++ https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ +++++++++++++++++++++++++++++++++++++++++ https://github.com/kspearrin/ff-password-exporter +++++++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example: JSON file: https://support.mozilla.org/questions/1258644 CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console) chrome://passwordmgr/content/passwordManager.xul chrome://passwordmgr/content/passwordManager.xhtml

right but both those will work with any new profile right they are not profile specific? Cause it's been years since I had a new profile and just figure best to restart firefox at same time

Not sure if that got posted as I don't see it in the message thread.

Backing those up will work with any new profile right they are not password specific.

Also i see both

Key3.db Key4.db

in the folder I assume I need to back up both will be using the most up to date version of firefox when I get the system back up and running

The Key3.db file is no longer in use.

Note that you can export and import logins as CSV in Firefox 80 and newer, so you can use this in addition of backup up logins.json and key4.db.