為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

How do I set master password timeout?

  • 1 回覆
  • 1 有這個問題
  • 14 次檢視
  • 最近回覆由 cor-el

more options

I am using Firefox Browser 78.0.2 (64-bit) on macOS 10.15.5 (19F101).

I enabled all the features in the "Logins and Passwords" section of Preferences/Privacy Security. This resulted in Firefox remembering and auto-filling usernames and passwords as expected. It would ask me for the master password only once for every browser restart, i.e. if I close all the browser windows. If I keep the browser running it seems it'll happily fill in my passwords without ever again asking for the master password.

I do not think this safe enough. How do I make the browser ask for the master password after a certain time, even if I don't restart the browser?

I did a bit of research and I found the signon.masterPasswordReprompt.timeout_ms parameter under about:config. I don't know if I misunderstood the purpose of this parameter or it is just broken but this parameter does not set the master password timeout in milliseconds. Its default value is 900000, which would be 15 mins. The browser most definitely does not ask for the master password after 15 mins. I tried to set this value to various smaller values to basically no avail. One time I did manage to get a master password prompt without restarting the browser but I can't reproduce this so I am not sure what caused it.

I would appreciate any help or pointers!

I am using Firefox Browser 78.0.2 (64-bit) on macOS 10.15.5 (19F101). I enabled all the features in the "Logins and Passwords" section of Preferences/Privacy Security. This resulted in Firefox remembering and auto-filling usernames and passwords as expected. It would ask me for the master password only once for every browser restart, i.e. if I close all the browser windows. If I keep the browser running it seems it'll happily fill in my passwords without ever again asking for the master password. I do not think this safe enough. How do I make the browser ask for the master password after a certain time, even if I don't restart the browser? I did a bit of research and I found the '''signon.masterPasswordReprompt.timeout_ms''' parameter under about:config. I don't know if I misunderstood the purpose of this parameter or it is just broken but this parameter ''does not'' set the master password timeout in milliseconds. Its default value is 900000, which would be 15 mins. The browser most definitely does not ask for the master password after 15 mins. I tried to set this value to various smaller values to basically no avail. One time I did manage to get a master password prompt without restarting the browser but I can't reproduce this so I am not sure what caused it. I would appreciate any help or pointers!

由 Zsombor 於 修改

所有回覆 (1)

more options

The signon.masterPasswordReprompt.timeout_ms pref is about asking for the MP if you want to inspect a password in Lockwise. You can easily logout by canceling a MP prompt like you get when you want to inspect a password or via the logout button in the security device manager.

  • Options/Preferences -> Privacy & Security
    Certificates: Security Devices -> Software Security Device

You may have to zoom out the page to get the right sidebar with the Logout button visible.