Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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

  • 3 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 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

所有回覆 (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).

有幫助嗎?

more options

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

有幫助嗎?

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.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題