Seneste svar på How to restore passwords from key3.db? And how does signons.sqlite work?https://support.mozilla.org/da/questions/10761702015-08-14T10:31:14-07:00Cor-el
Thank you again!
I would have been totally lost without your help!
2015-08-14T10:31:14-07:00rennman10https://support.mozilla.org/da/questions/1076170#answer-767543<p>Cor-el
</p><p>Thank you again!
</p><p>I would have been totally lost without your help!
</p>Yes, the Password Exporter should merge the imported password with existing passwords.
I don't know 2015-08-14T10:19:28-07:00cor-elhttps://support.mozilla.org/da/questions/1076170#answer-767538<p>Yes, the Password Exporter should merge the imported password with existing passwords.
I don't know what happens if there are dupes in the user name and its passwords are different.
</p>Ahh...a follow on question.
During the process of trying to recover the logins, in the meantime, I2015-08-14T10:06:28-07:00rennman10https://support.mozilla.org/da/questions/1076170#answer-767533<p>Ahh...a follow on question.
</p><p>During the process of trying to recover the logins, in the meantime, I have been busy creating new ones in the current signons.sqlite.
</p><p>Is there a way to append the two files/dbs (eg the one I have been working with and the old(er) I just was able to transfer?
</p><p>If I export from the one and import into the other, will that append the entries?
</p>Cor-el
Thank you again!
The export file from old PC XP with FIrefox 11 did not import into the new v2015-08-14T09:57:36-07:00rennman10https://support.mozilla.org/da/questions/1076170#answer-767525<p>Cor-el
</p><p>Thank you again!
</p><p>The export file from old PC XP with FIrefox 11 did not import into the new version of Firefox/new computer.
</p><p>In the end, I cleared out some junk on the XP machine which allowed me to update Firefox to the current version (by making space). The current version then generated the signons.sqlite file and I could move it to the new machine and yes, I now have recovered the passwords!!
</p><p>Thanks for all your patience in coaching me though.
</p>Looks that the signons.sqlite version used in that older version isn't compatible with the import fu2015-08-10T05:59:36-07:00cor-elhttps://support.mozilla.org/da/questions/1076170#answer-765518<p>Looks that the signons.sqlite version used in that older version isn't compatible with the import function in the current release.
</p><p>You can try to use the Password Exporter to export the passwords on the XP computer and import this file in your current computer.
</p>
<ul><li> Password Exporter: <a href="https://addons.mozilla.org/firefox/addon/password-exporter/" rel="nofollow">https://addons.mozilla.org/firefox/addon/password-exporter/</a>
</li></ul>
<p>You need the older Version 1.2.1.1-signed of the extension from the versions page for Firefox 11.
</p>
<ul><li><a href="https://addons.mozilla.org/en-US/firefox/addon/password-exporter/versions/" rel="nofollow">https://addons.mozilla.org/en-US/firefox/addon/password-exporter/versions/</a>
</li></ul>
<p>Hopefully that will work, but at least this will give a backup.
You could compare the backups to see if you modify the older version in case it isn't working.
</p>The XP Firefox is 11.0. Version as of 8-9/2011. Old,
Also, as to whether I am being asked for the2015-08-10T04:41:08-07:00rennman10https://support.mozilla.org/da/questions/1076170#answer-765490<p>The XP Firefox is 11.0. Version as of 8-9/2011. Old,
</p><p>Also, as to whether I am being asked for the Master password. I did have one iteration where it did but otherwise no.
</p><p>Does that help solve the issue?
</p><p>Many thanks!!
</p>What Firefox version is on the XP computer?
2015-08-09T13:43:50-07:00cor-elhttps://support.mozilla.org/da/questions/1076170#answer-765309<p>What Firefox version is on the XP computer?
</p>Thanks, Thanks.
I started up my old XP machine and checked the passwords - worked. I exported the2015-08-09T12:48:36-07:00rennman10https://support.mozilla.org/da/questions/1076170#answer-765298<p>Thanks, Thanks.
</p><p>I started up my old XP machine and checked the passwords - worked. I exported them to a file. I also transferred that key3.db and
signons.sqlite to .my current PC-windows 7
</p><p>I followed your instructions (or at least I believe I have) and I still get no passwords.
</p><p>The old machine is XP. Is that a problem?
</p><p>I emailed rather than used a USB token to transfer the files. Is that a problem?
</p><p>This seems weird to me. That what worked on XP does not seem to work now. This makes me think I must be doing something wrong.
</p><p>What do you think?
</p><p>Thanks again,
</p>If that didn't work them I'm afraid that the key3.db file isn't compatible.
Are you asked for the ma2015-08-09T09:07:40-07:00cor-elhttps://support.mozilla.org/da/questions/1076170#answer-765261<p>If that didn't work them I'm afraid that the key3.db file isn't compatible.
</p><p>Are you asked for the master password when you access the Password Manager?
</p>Here's what I have done.
I have set signons.importedFromSqlite to default in about:config by right-c2015-08-09T08:25:56-07:00rennman10https://support.mozilla.org/da/questions/1076170#answer-765248<p>Here's what I have done.
</p><p>I have set signons.importedFromSqlite to default in about:config by right-clicking and selecting reset
I closed Firefox
I opened my profile and deleted the logins.json file
I have verified that the signons.sqlite is in the profile with the key3.DB
When I restart FF, I have an empty password list. And a new logins.json file
</p><p>I repeated the steps to make sure I didn't goof up.
</p><p>My master password has never been reset so my key3.db and my signons.sqlite should be compatible.
</p><p>Any hope? Is there something I didn't do correctly?
</p><p>Thanks AGAIN!
</p>Re-importing the signons.sqlite file will only work if you haven't changed the Master Password since2015-08-08T11:47:41-07:00cor-elhttps://support.mozilla.org/da/questions/1076170#answer-764944<p>Re-importing the signons.sqlite file will only work if you haven't changed the Master Password since Firefox switched to using logins.json.
</p>Cor-el
Again, Thanks!
Recovered logins.json do not look correct in scratchpad. Also I get an error 2015-08-08T11:15:35-07:00rennman10https://support.mozilla.org/da/questions/1076170#answer-764936<p>Cor-el
</p><p>Again, Thanks!
</p><p>Recovered logins.json do not look correct in scratchpad. Also I get an error message that says "failed to convert file to Unicode from UFT-8."
</p><p>Newly created login.json does look OK to me in scratchpad.
</p><p>I will try the conversion from signons.importedfromsqlite.
</p>They do not need to be of the same date, but is the encryption key changes or the Master Password th2015-08-08T09:35:35-07:00cor-elhttps://support.mozilla.org/da/questions/1076170#answer-764906<p>They do not need to be of the same date, but is the encryption key changes or the Master Password then the key3.db file will no longer work.
</p><p>Did you check the logins.json files to be sure that they only contain plain text and not binary data?
</p><p>You can open the file in the Scratchpad (Firefox/Tools &gt; Web Developer).
Click the "Pretty Print" button to format the file for readability.
</p>Before I see what the old signons file has in it - yes, it is old, I thought I should try for a more2015-08-08T08:55:50-07:00rennman10https://support.mozilla.org/da/questions/1076170#answer-764901<p>Before I see what the old signons file has in it - yes, it is old, I thought I should try for a more recent logins file.
</p><p>I found that I could recover what appear to be intact logins.json files. I have them for three different recent dates.
</p><p>I moved the most recent one into the Profiles folder but no passwords showed up. After checking the Profiles folder, the logins.json file is now named logins.json.corrupt. I tried with the 2 others and the same thing happened.
</p><p>Does the key3.db and the logins.json file need to be the same date? In my case this is not true.
</p><p>Is there something else I can do to see if I can reinstall the more recent logins files? (Before I give up and try the signons file that's two years + out of date.)
</p><p>Thanks again!
</p>You're welcome.
You can still make Firefox importing bookmarks from signons.sqlite, but that would g2015-08-06T06:12:58-07:00cor-elhttps://support.mozilla.org/da/questions/1076170#answer-764213<p>You're welcome.
</p><p>You can still make Firefox importing bookmarks from signons.sqlite, but that would give you passwords from years ago.
You can force Firefox to reimport the passwords from the signons.sqlite file and rebuild the logins.json file with these steps:
</p>
<ul><li> reset the <b>signon.importedFromSqlite</b> pref on the <b>about:config</b> page to the default value via the right-click context menu
</li><li> delete the <b>logins.json</b> file in the Firefox profile folder with Firefox closed
</li></ul>Thanks! I will see if I can recover the logins.json file.
Makes sense then that what I did didn't w2015-08-06T01:51:25-07:00rennman10https://support.mozilla.org/da/questions/1076170#answer-764062<p>Thanks! I will see if I can recover the logins.json file.
</p><p>Makes sense then that what I did didn't work. Thanks again.
</p>The key3.db file store the encryption key that is used for encrypting and decrypting the passwords.
2015-08-05T10:20:00-07:00cor-elhttps://support.mozilla.org/da/questions/1076170#answer-763902<p>The key3.db file store the encryption key that is used for encrypting and decrypting the passwords.
The encrypted names and passwords are stored in the logins.json file.
The signons.sqlite file is no longer used in current releases since Firefox 32.
</p><p>You need to move the logins.json and key3.db files to the current profile folder to recover the passwords.
Make sure that Firefox is closed when you replace the existing logins.json and key3.db files.
</p>
<ul><li><a href="https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile" rel="nofollow">https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile</a>
</li></ul>