为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Where are saved passwords stored in firefox 117 on Mac OS?

  • 1 个回答
  • 1 人有此问题
  • 8 次查看
  • 最后回复者为 cor-el

more options

Recently FireFox has stopped saving changes to my saved logins/passwords. I am using a master password. When I exit FF (I have it set to resume with the same windows and tabs open) and then restart, all the saved passwords have reverted to some time in the past where they remain frozen. If I try to login to a website, FF will ask for my master password, then fill in the OLD password. I can update it (replace the auto-filled string with the correct one) -- for example, login to a site using the correct (NEW) password, and then choose "UPDATE" in the pop-up -- and those will persist until I exit. But after exiting and restarting, all the passwords have reverted to the old values. This also applies to adding and removing saved passwords, or editing them manually in the "about:logins" page. For example, I keep deleting the password for a no-longer-in-use account and it disappears until I restart Firefox, then it comes back.

This makes me think that something has changed the ownership or permissions on the file where these encrypted passwords are saved locally and so Firefox silently skips the step to write them out on exit (or update them incrementally as I change them). I do not use a FF/Mozilla account to save them in the cloud, I just keep them on the local machine, which is Mac OS X Big Sur (11.6.8).

I did find somewhere online (on mozilla.org, I *think*) that the file is "logins.json" at the top level of my active profile. But that file has not been modified since 01/15/2023 (over 8 months ago), and removing it does not seem to have had an impact on the problem, so I am guessing that wherever I found that info (that logins.json is where they are stored) was probably some out-of-date post from a past version of Firefox.

I am hoping someone can tell me which file is not being updated so I can inspect its ownership/permissions and then either fix it or delete the file. I am guessing that I can export the list to a csv file, exit Firefox, delete the storage file, then restart Firefox and import the saved csv file in order to fix it -- but I need to know which file it is.

Or, can someone tell me where to look for an error log that might contain an explanation of something going wrong while trying to update my profile on exit? NOTE: the rest of the profile seems to be OK, my windows and tabs are restored correctly on restart, they are NOT frozen in time.

Thank you for any help you can offer me.

Recently FireFox has stopped saving changes to my saved logins/passwords. I am using a master password. When I exit FF (I have it set to resume with the same windows and tabs open) and then restart, all the saved passwords have reverted to some time in the past where they remain frozen. If I try to login to a website, FF will ask for my master password, then fill in the OLD password. I can update it (replace the auto-filled string with the correct one) -- for example, login to a site using the correct (NEW) password, and then choose "UPDATE" in the pop-up -- and those will persist until I exit. But after exiting and restarting, all the passwords have reverted to the old values. This also applies to adding and removing saved passwords, or editing them manually in the "about:logins" page. For example, I keep deleting the password for a no-longer-in-use account and it disappears until I restart Firefox, then it comes back. This makes me think that something has changed the ownership or permissions on the file where these encrypted passwords are saved locally and so Firefox silently skips the step to write them out on exit (or update them incrementally as I change them). I do not use a FF/Mozilla account to save them in the cloud, I just keep them on the local machine, which is Mac OS X Big Sur (11.6.8). I did find somewhere online (on mozilla.org, I *think*) that the file is "logins.json" at the top level of my active profile. But that file has not been modified since 01/15/2023 (over 8 months ago), and removing it does not seem to have had an impact on the problem, so I am guessing that wherever I found that info (that logins.json is where they are stored) was probably some out-of-date post from a past version of Firefox. I am hoping someone can tell me which file is not being updated so I can inspect its ownership/permissions and then either fix it or delete the file. I am guessing that I can export the list to a csv file, exit Firefox, delete the storage file, then restart Firefox and import the saved csv file in order to fix it -- but I need to know which file it is. Or, can someone tell me where to look for an error log that might contain an explanation of something going wrong while trying to update my profile on exit? NOTE: the rest of the profile seems to be OK, my windows and tabs are restored correctly on restart, they are NOT frozen in time. Thank you for any help you can offer me.

所有回复 (1)

more options

Firefox uses two files in the profile folder to store the logins. One is logins.json that stores the encrypted logins and the other is key4.db that stores the encryption key that is possibly encrypted with the Primary Password. Do you have a problem with saving other session data?

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