Firefox fails to import Chrome passwords on Windows
Categories
(Firefox :: Migration, defect)
Tracking
()
People
(Reporter: cbayona, Unassigned, NeedInfo)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Steps to reproduce:
I tried in both linux and Windows 10 to import bookmarks and passwords from Chrome. I did not work, it brought the bookmarks but not the passwords. There is no master password in Chrome or Firefox. When I attemped to do the same the import in Linux, it does not even show the option to import the passwords.
Actual results:
In Windows 10 Firefox V 70 will not import passwords from Chrome, out of 447 bookmark/passwords it only imports about a dozen or so.
In Linux, the option to select the importing of passwords is not even present.
I'm trying to migrate from Chrome to Firefox but the lack of so many passwords makes it impractical to switch at this time. The bookmarks were imported but not the passwords.
Thanks
Cecil Bayona
cbayona@cbayona.com
Expected results:
I should have had 447 bookmark/password entries.
Reporter | ||
Comment 1•5 years ago
|
||
I'm trying to migrate from Windows to Linux and in Linux I want to use Firefox as my browser but to do that I need my passwords. Chrome has successfully synced its paswword from the Windows side but neither Windows or Linux can import the passwords from Chrome.
Comment 2•5 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0
Hi,
I have tested your issue on latest FF release 71.0 and latest Nightly build 73.0a1 (2020-01-05) (64-bit) and could not reproduce it using Windows 10, all bookmarks are successfully imported, also the passwords (All of them are present in logins and passwords, from hamburger menu). You are right, on Linux the option to import the passwords doesn't exist.
If the issue is still reproducible on your end, can you please retest this using latest FF release and latest Nightly build (https://nightly.mozilla.org/) and report back the results? When doing this, please use a new clean Firefox profile (https://goo.gl/AWo6h8), maybe even safe mode (https://goo.gl/AR5o9d), to eliminate custom settings as a possible cause.
Further, I am assigning a component to this issue in order to involve the development team and get an opinion on this. If is not the correct component please feel free to change it to an appropriate one.
Thanks for the report.
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment 8•5 years ago
|
||
(In reply to eoli3n from comment #6)
Then i just arrived to work and guess what ? I don't have any password in sync, good job mozilla
Did you follow the instructions in the README of that repo:
Note: If you have Sync enabled, you'll have to disconnect and reconnect your Firefox account after importing the passwords.
(In reply to eoli3n from comment #4)
oh i didn't read well, "on Linux the option to import the passwords doesn't exist"
Is that serious...
That is correct since each platform uses different encryption. If you want to contribute the code for Linux I will gladly mentor you.
Let's focus on Cecil's issue importing passwords on Windows.
Can you please enable debug logging for logins, open the Browser Console (not web console), clear it, do the import and then attach the logs here?
Thanks
Comment hidden (off-topic) |
Comment 10•5 years ago
|
||
Updating the bug title to be clear that this bug is to track a potential issue on Windows.
This isn't really actionable without more information, so I'm going to close for now. Please re-open if you are able to get the info requested in comment #8.
Comment 11•4 years ago
|
||
I tried opening the browser console and I see a whole bunch of entries entitled "decryptData failed."
Here's one of them:
decryptData failed: 87 2 OSCrypto_win.js:209
decryptData resource://gre/modules/OSCrypto_win.js:209
migrate resource:///modules/ChromeProfileMigrator.jsm:444
InterpretGeneratorResume self-hosted:1284
AsyncFunctionNext self-hosted:839
MU_showMigrationWizard resource:///modules/MigrationUtils.jsm:1001
OpenMigrator chrome://passwordmgr/content/passwordManager.js:856
oncommand chrome://passwordmgr/content/passwordManager.xul:1
Is this sufficient to reopen the ticket, or do I need to dump the whole output of the browser console?
Comment 12•4 years ago
|
||
Lets re-triage.
Comment 13•4 years ago
|
||
Thanks, that error message says that there is an invalid parameter (Windows error code 87).
As a workaround, can you try the following? Go to chrome://settings/passwords in Chrome, clicking the three dot button next to "Saved Passwords" and choosing "Export passwords...". Then in Firefox, go to about:logins, click on the three dot button in the top right of the page, and select "Import from a File..." and select the file that was exported from Chrome.
Chrome's "Login Data" file is saved on Windows at %USERPROFILE%/AppData/Local/Google/Chrome/User Data/Default/Login Data
. You can make a copy of that file and use https://sqlitebrowser.org/ to open and edit the SQLite database, where you can change the username and website address of the sites to protect your privacy. Could you then privately email me your modified Login Data
file and the encrypted_key
value found in %USERPROFILE%/AppData/Local/Google/Chrome/User Data/Local State
? That may help us determine what is causing the decryption error.
Comment 14•4 years ago
|
||
We will need more info as requested in comment #13 to work on this, unfortunately.
Description
•