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

Support Forum

How to restore passwords from key.db, logins.json when changing os from i386 to amd64

Posted

Hi

I already checked some QA but got no answer nor a solution: eg.: https://support.mozilla.org/en-US/questions/1076170

How to restore passwords from key.db when changing os from i386 to amd64

It seems that the key file is OS/platform depended!? Thats the only idea.

After upgrading to (i386 ->) amd64 (without /home) the password-manager of firefox doesnt show me all of listed entrys in logins.json.

Only new entrys of logins.json are listed but old once are still there so it seem they cant be decrypted. And because its still the same master password ... It can be the key file on another platform which wont work. The idea.

Questions: 1. How get the old passwords work again? 2. Only Windows for merging import/export? (https://support.mozilla.org/en-US/kb/password-manager-remember-delete-change-and-import)

I do have backups but i am really not willed in distibuting any data of hashes and locations which are unencrypted of logins.json by using the sync option in firefox.

Any suggestions would be really appreciated.

Kind regards flobee

Hi I already checked some QA but got no answer nor a solution: eg.: https://support.mozilla.org/en-US/questions/1076170 How to restore passwords from key.db when changing os from i386 to amd64 It seems that the key file is OS/platform depended!? Thats the only idea. After upgrading to (i386 ->) amd64 (without /home) the password-manager of firefox doesnt show me all of listed entrys in logins.json. Only new entrys of logins.json are listed but old once are still there so it seem they cant be decrypted. And because its still the same master password ... It can be the key file on another platform which wont work. The idea. Questions: 1. How get the old passwords work again? 2. Only Windows for merging import/export? (https://support.mozilla.org/en-US/kb/password-manager-remember-delete-change-and-import) I do have backups but i am really not willed in distibuting any data of hashes and locations which are unencrypted of logins.json by using the sync option in firefox. Any suggestions would be really appreciated. Kind regards flobee

Additional System Details

Application

  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17566 solutions 158879 answers

You only need to copy logins.json and key3.db to a Firefox profile folder to transfer the passwords to a specific profile. That should show you the usernames and passwords in the Password Manager. These two files need to match to be able to decrypt the names in the logins.json file. This should work for all profiles and all operating systems.

You only need to copy logins.json and key3.db to a Firefox profile folder to transfer the passwords to a specific profile. That should show you the usernames and passwords in the Password Manager. These two files need to match to be able to decrypt the names in the logins.json file. This should work for all profiles and all operating systems.

Question owner

Hi, Thanks for reply but this does work.

1. I havend changed the profile. None of my files located in /home Just the Software/ OS has changed from i386 to amd64. (debian)

2. Switching to another profile (now i have two: .mozilla/i386 and .mozilla/amd64) for testing (got it from backup). Both of them showing me the same results in password manager. Just latest changes i added but not all of them listed in logins.json Also copying the files end up in the same. This makes me think something has changed in key file.


Maybe you still have some ideas?

Kind regards Florian

Hi, Thanks for reply but this does work. 1. I havend changed the profile. None of my files located in /home Just the Software/ OS has changed from i386 to amd64. (debian) 2. Switching to another profile (now i have two: .mozilla/i386 and .mozilla/amd64) for testing (got it from backup). Both of them showing me the same results in password manager. Just latest changes i added but not all of them listed in logins.json Also copying the files end up in the same. This makes me think something has changed in key file. Maybe you still have some ideas? Kind regards Florian

Question owner

flobee said

Maybe you still have some ideas?

I tested on another pc. It seems something is broken in one of the debian updates of firefox and it seems still a problem.

Currently im not asked for a master password. There must be a bug. So now i have a mix of default encryption and some with the encryption incl. my master password. Does this makes sence ?

What can i do now? Getting a clean version of firefox which works and how to migrate the mix of logins with different encryptions?

The initial question has changed. Seems not a platfrom problem.

Thx for suggestions! Kind regards flobee

''flobee [[#answer-978602|said]]'' <blockquote> Maybe you still have some ideas? </blockquote> I tested on another pc. It seems something is broken in one of the debian updates of firefox and it seems still a problem. Currently im not asked for a master password. There must be a bug. So now i have a mix of default encryption and some with the encryption incl. my master password. Does this makes sence ? What can i do now? Getting a clean version of firefox which works and how to migrate the mix of logins with different encryptions? The initial question has changed. Seems not a platfrom problem. Thx for suggestions! Kind regards flobee

Question owner

Idea two: any keyring seems to store things on top because even if i delete all profiles and create a new one my passwords since amd64 are back. without having a login.json file at this moment. Wow. Sorry. I need to ask, search somewhere else! Kind regards flobee

Idea two: any keyring seems to store things on top because even if i delete all profiles and create a new one my passwords since amd64 are back. without having a login.json file at this moment. Wow. Sorry. I need to ask, search somewhere else! Kind regards flobee

Question owner

Thanks again for reading again.

Disabling gnome keyring addon solves it.

That has lost the old i386 key DB to amd64. I remember to setup all maschine passwords again. The good: The Addon works and syncs to logins.json so that firefox still knows old and new passwords :)


Problem resolved

Thanks again for reading again. Disabling gnome keyring addon solves it. That has lost the old i386 key DB to amd64. I remember to setup all maschine passwords again. The good: The Addon works and syncs to logins.json so that firefox still knows old and new passwords :) Problem resolved