X
Tap here to go to the mobile version of the site.

Support Forum

Possible to restore very old (v48) password file?

Posted

I purchased a new iMac after 9 years on a MacBook running the last installable version of Firefox: v48. Passwords were not migrated, so have all been lost. All help topics address *.json topics in Profiles. But the old version only has directoryLinks.json and frequencyCap.json files. Possible to restore from such an old version? If not, sadly, I must revert to using Safari. Bye bye Firefox.

I purchased a new iMac after 9 years on a MacBook running the last installable version of Firefox: v48. Passwords were not migrated, so have all been lost. All help topics address *.json topics in Profiles. But the old version only has directoryLinks.json and frequencyCap.json files. Possible to restore from such an old version? If not, sadly, I must revert to using Safari. Bye bye Firefox.

Chosen solution

Best is to update using builtin "Firefox -> About Firefox". You likely need to update more than once to allow migration code to run and update the profile properly.

Using Sync and adding devices to Sync is optional. Your Firefox Sync account has been created when you see the page to add another device. You can close this tab if you do not want or can't add another (mobile) device. Note that Sync is not meant as a backup, but is meant to merge/share data among other devices.

Read this answer in context 0
Quote

Additional System Details

Installed Plug-ins

Adblock

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15

More Information

FredMcD
  • Top 10 Contributor
4398 solutions 61718 answers

Helpful Reply

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

In the original profile: '''logins.json''' and '''key3.db''' [v58+]'''key4.db''' : These are the password files. '''Copy Both ! '''
Was this helpful to you? 1
Quote

Question owner

Thanks for your help. I DID find logins.json, though it's very odd that I can NOT see that file in Finder, even if I show hidden files. It only shows up if I search for it (on the old MacBook). But I cannot find key3.db or key4.db on the old MacBook. Any ideas?

Thanks for your help. I DID find logins.json, though it's very odd that I can NOT see that file in Finder, even if I show hidden files. It only shows up if I search for it (on the old MacBook). But I cannot find key3.db or key4.db on the old MacBook. Any ideas?
Was this helpful to you?
Quote
FredMcD
  • Top 10 Contributor
4398 solutions 61718 answers

It should be there. If you can't find it . . . .

It should be there. If you can't find it . . . .
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17876 solutions 161748 answers

Helpful Reply

Some information:

Firefox 31 and older store the passwords in the signons.sqlite file. Firefox 32 and newer use logins.json instead of signons.sqlite to store the passwords. Firefox 58 and newer use key4.db (SQLite) for the key file and no longer use key3.db (DBM), but can use key3.db as a fallback when key4.db is missing.

The matching key file (key4.db in current releases or key3.db used previously) is needed to decrypt the names and passwords and needs to match the logins.json or signons.sqlite file.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

In Mac OS X v10.7 and later, the "~/Library" folder in the Home directory is a hidden folder.

Some information: Firefox 31 and older store the passwords in the signons.sqlite file. Firefox 32 and newer use logins.json instead of signons.sqlite to store the passwords. Firefox 58 and newer use key4.db (SQLite) for the key file and no longer use key3.db (DBM), but can use key3.db as a fallback when key4.db is missing. The matching key file (key4.db in current releases or key3.db used previously) is needed to decrypt the names and passwords and needs to match the logins.json or signons.sqlite file. You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Folder/Directory:<br>Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder *https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data *~/Library/Application Support/Firefox/Profiles/&lt;profile&gt;/ In Mac OS X v10.7 and later, the "~/Library" folder in the Home directory is a hidden folder.
Was this helpful to you? 1
Quote

Question owner

Thanks, cor-el. But it turns out that just one hour ago, Firefox changed something so that if I try to install it, the only way to manage 'Profiles' is to create a Firefox account, and upload all of my profiles to the 'Cloud' so they can be transferred between versions. FUCK FIREFOX. That is un. fucking. believable. I will suffer through Safari for the rest of the time I can bear to use Apple products, which are RAPIDLY turning into Microsoft shit! Thanks for your help.

Thanks, cor-el. But it turns out that just one hour ago, Firefox changed something so that if I try to install it, the only way to manage 'Profiles' is to create a Firefox account, and upload all of my profiles to the 'Cloud' so they can be transferred between versions. FUCK FIREFOX. That is un. fucking. believable. I will suffer through Safari for the rest of the time I can bear to use Apple products, which are RAPIDLY turning into Microsoft shit! Thanks for your help.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17876 solutions 161748 answers

Chosen Solution

Best is to update using builtin "Firefox -> About Firefox". You likely need to update more than once to allow migration code to run and update the profile properly.

Using Sync and adding devices to Sync is optional. Your Firefox Sync account has been created when you see the page to add another device. You can close this tab if you do not want or can't add another (mobile) device. Note that Sync is not meant as a backup, but is meant to merge/share data among other devices.

Best is to update using builtin "Firefox -> About Firefox". You likely need to update more than once to allow migration code to run and update the profile properly. Using Sync and adding devices to Sync is optional. Your Firefox Sync account has been created when you see the page to add another device. You can close this tab if you do not want or can't add another (mobile) device. Note that Sync is not meant as a backup, but is meant to merge/share data among other devices.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.