Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

All logins fail to load from logins.json, with error NS_ERROR_FAILURE

  • 3 replies
  • 0 have this problem
  • 26 views
  • Last reply by cor-el

more options

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

Hi, My saved passwords are not showing up. I followed the advice on [https://support.mozilla.org/en-US/questions/1380239 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)

more options

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).

Helpful?

more options

I do have a backup of those two files which I made. Shall I try deleting key4.db ?

Helpful?

more options

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.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.