passwords got delete
Hi
My saved passwords got deleted accidentally.
How can i restore.
I have previous import file its a .csv
Thanks Heshan
Wšykne wótegrona (3)
Hi Heshan, I am not aware of a method for importing logins from a file into Firefox 57 or later.
I looked into writing a Browser Console script for it the other day, but I couldn't get it working. https://support.mozilla.org/questions/1252564
Can you recover the two critical files from a Time Machine backup? Those would be:
- logins.json
- key4.db
in your Profile folder. See: Profiles - Where Firefox stores your bookmarks, passwords and other user data.
Current Firefox releases do not have a way to import the passwords from a CSV file.
Did you check that Firefox didn't switch profiles because Firefox 67 DE might be using its own profile?
You need a backup copy of logins.json and key4.db to restore lost passwords. The logins.json and key4.db need to match because the key file stores the encryption key necessary to be able to decrypt the usernames and passwords stored in logins.json.
If you use the Time Machine or other backup then try to restore file(s) from this backup.
Note that it is actually quite easy to import passwords in the Password Manager using an array of JSON data (LoginHelper.maybeImportLogins(); in older Firefox versions LoginHelper.maybeImportLogin()).
- [/questions/1239821#answer-1171958] Will Saved Password Editor ever work again?
Updating an existing password requires a lot more work (Services.logins.modifyLogin())
Wót cor-el