Moving my passwords from old profile to profile in a newer version of firefox
Transferring my passwords from an old profile backup (v 49) to a profile in a newer version of Firefox (v 77.01). I'm copying across the logins.json and key4.db files like it says here: https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile#w_passwords. but it still doesn't seem to show my passwords in the new Firefox version when I look in the preferences. I did happen to notice that the key file version is named 'key3.db' in the old profile whereas the corresponding file in the new profile is 'key4.db'. I don't think they're compatible. My question is can I move my passwords from the old profile to the new profile in Firefox v 77.01? Please can you tell me if I can do it offline/locally like this? I don't want to do it with Firefox sync. I'm currently having problems signing into Firefox sync so that isn't an option.
All Replies (8)
Back up both keyfiles then try renaming Key3 to key4 and see if it "moves" them then.
I wondered if renaming might work, don't why I didn't think of that before. Thank you for your reply. I'll rename the file.
You need to remove key4.db (SQLite) if you only have key3.db (DBM) to make Firefox fallback to using the key3.db file as key file.
Hi Thank you for your reply. Ok, I'll try deleting key4.db, as renaming key3.db didn't work.
Kind regards, Matt
Thanks very much for the responses, unfortunately removing key4.db also didn't work. (I made sure that the only relevent files in the new profile were key3.db and logins.json). When I look for my logins in preferences > security > saved logins I am not prompted for a master password and my logins aren't there. Do you know if there is anything else wrong?
Kind regards, Matt
Are you sure that you have a matching logins.json and key3.db file ?
You did copy both files (logins.json and key3.db) another time with Firefox closed ?
Are there error messages in the Browser Console about the login manager ?
- "3-bar" menu button or Tools -> Web Developer
Does Firefox rename logins.json to logins.json.corrupt ?
Does about:protections show any logins detected ?
Yes they definitely match because when I use them in Firefox 49 they work
Firefox was closed when I copied the files from my old profile
I can't see a logins.json corrupt in the profile
the browser console shows the following error messages, I don't know if they're relevent: Error: Can't find profile directory. 8 XULStore.jsm:66:15
load resource://gre/modules/XULStore.jsm:66 XULStore resource://gre/modules/XULStore.jsm:24
NS_ERROR_FAILURE: Couldn't decrypt string 160 crypto-SDR.js:200
decrypt resource://gre/modules/crypto-SDR.js:200 getAllLoginsAsync resource://gre/modules/storage-json.js:383 InterpretGeneratorResume self-hosted:1151 AsyncFunctionNext self-hosted:693
Yes, I can't see the logins on the logins screen when I click on the view logins button next to the information in about:protections but about:protections, shows 'your passwords are being stored securely' which isn't displayed before I copy the files in. The message appears after I copy the login files into the profile.
This shows a problem with decrypting the logins:
NS_ERROR_FAILURE: Couldn't decrypt string 160 crypto-SDR.js:200 decrypt resource://gre/modules/crypto-SDR.js:200 getAllLoginsAsync resource://gre/modules/storage-json.js:383