All logins fail to load from logins.json, with error NS_ERROR_FAILURE
Hi,
My saved passwords are not showing up. I followed the advice on this post, by setting signon.debug and doing about:logins. Here are the errors shown in the console:
LoginManager: Getting a list of all logins asynchronously. LoginManager.sys.mjs:395:14 Login storage: Returning 502 logins for specified origin with options [object Object] storage-json.sys.mjs:704:10 Login crypto: Failed to decrypt cipher text of length 92 with error NS_ERROR_FAILURE. crypto-SDR.sys.mjs:179:12
-> decrypt resource://gre/modules/crypto-SDR.sys.mjs:197 decryptLogins resource://gre/modules/storage-json.sys.mjs:966 map self-hosted:221 #decryptLogins resource://gre/modules/storage-json.sys.mjs:948 InterpretGeneratorResume self-hosted:1465 AsyncFunctionNext self-hosted:852
Then that last mesage is repeated another 501 times.
Any idea what is wrong. I have only one profile the default one. Firefox is up to date at 122.0.1 on iMac 12.7.3
Thank you David
All Replies (3)
This could be a problem with key4.db that stores the encryption key. Are you using a Primary Password? Do you have a backup copy of both logins.json and key4.db ?
You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).
- Help -> More Troubleshooting Information -> Profile Folder/Directory:
Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder - https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
I do have a backup of those two files which I made. Shall I try deleting key4.db ?
Key4.db stores the encryption key necessary to decrypt the logins (username and password) stored in logins.json, so only a valid/matching key4.db is able to decrypt the logins in logins.json successfully.
Do you have a (Time Machine) backup with logins.json and key4.db that you try to access the logins ? Otherwise you lose all 502 logins.