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

搜尋 Mozilla 技術支援網站

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

了解更多

Firefox started asking for Primary Password when I launch it

  • 3 回覆
  • 0 有這個問題
  • 最近回覆由 cor-el

more options

I just updated to version 128 of Firefox. Previously I used this user.js file as my profile:

//https://kb.mozillazine.org/About:config_entries

user_pref("app.normandy.api_url", ""); user_pref("app.update.auto", false); user_pref("app.update.checkInstallTime", false); user_pref("app.update.disabledForTesting", true); user_pref("browser.dom.window.dump.enabled", true); user_pref("browser.download.dir", "/home/seluser/automated-tests/downloads"); user_pref("browser.download.folderList", 2); user_pref("browser.newtabpage.activity-stream.asrouter.providers.cfr", "null"); user_pref("browser.newtabpage.activity-stream.asrouter.providers.cfr-fxa", "null"); user_pref("browser.newtabpage.activity-stream.asrouter.providers.message-groups", "null"); user_pref("browser.newtabpage.activity-stream.asrouter.providers.messaging-experiments", "null"); user_pref("browser.newtabpage.activity-stream.asrouter.providers.snippets", "null"); user_pref("browser.newtabpage.activity-stream.asrouter.providers.whats-new-panel", "null"); user_pref("browser.newtabpage.activity-stream.discoverystream.config", "[]"); user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); user_pref("browser.newtabpage.activity-stream.feeds.system.topstories", false); user_pref("browser.newtabpage.activity-stream.fxaccounts.endpoint", ""); user_pref("browser.newtabpage.activity-stream.tippyTop.service.endpoint", ""); user_pref("browser.safebrowsing.blockedURIs.enabled", false); user_pref("browser.safebrowsing.downloads.enabled", false); user_pref("browser.safebrowsing.malware.enabled", false); user_pref("browser.safebrowsing.passwords.enabled", false); user_pref("browser.safebrowsing.phishing.enabled", false); user_pref("browser.sessionstore.resume_from_crash", false); user_pref("browser.shell.checkDefaultBrowser", false); user_pref("browser.startup.homepage_override.mstone", "ignore"); user_pref("browser.startup.page", 0); user_pref("browser.tabs.closeWindowWithLastTab", false); user_pref("browser.tabs.warnOnClose", false); user_pref("browser.uitour.enabled", false); user_pref("browser.warnOnQuit", false); user_pref("browser.webapps.checkForUpdates", 0); user_pref("datareporting.healthreport.documentServerURI", "http://%(server)s/dummy/healthreport/"); user_pref("datareporting.healthreport.logging.consoleEnabled", false); user_pref("datareporting.healthreport.service.enabled", false); user_pref("datareporting.healthreport.service.firstRun", false); user_pref("datareporting.healthreport.uploadEnabled", false); user_pref("datareporting.policy.dataSubmissionEnabled", false); user_pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true); user_pref("devtools.console.stdout.chrome", true); user_pref("dom.ipc.reportProcessHangs", false); user_pref("extensions.autoDisableScopes", 0); user_pref("extensions.enabledScopes", 5); user_pref("extensions.installDistroAddons", false); user_pref("extensions.update.enabled", false); user_pref("extensions.update.notifyUser", false); user_pref("focusmanager.testmode", true); user_pref("general.useragent.updates.enabled", false); user_pref("geo.provider.testing", true); user_pref("geo.wifi.scan", false); user_pref("hangmonitor.timeout", 0); user_pref("idle.lastDailyNotification", -1); user_pref("marionette.log.level", "Info"); user_pref("marionette.port", 0); user_pref("media.gmp-manager.updateEnabled", false); user_pref("media.sanity-test.disabled", true); user_pref("network.cookie.lifetimePolicy", 2); user_pref("network.http.phishy-userpass-length", 255); user_pref("network.manage-offline-status", false); user_pref("network.sntp.pools", "%(server)s"); user_pref("plugin.state.flash", 0); user_pref("remote.log.level", "Info"); user_pref("security.certerrors.mitm.priming.enabled", false); user_pref("services.settings.server", ""); user_pref("startup.homepage_welcome_url", "about:blank"); user_pref("startup.homepage_welcome_url.additional", ""); user_pref("toolkit.startup.max_resumed_crashes", -1); user_pref("widget.gtk.overlay-scrollbars.enabled", false);

All worked fine. But now with this new version of Firefox if I use that profile I see a popup asking me for my Primary Password. I do not have a primary password. Why has Firefox started asking me for one? What can I change in my user.js file to stop this?

I just updated to version 128 of Firefox. Previously I used this user.js file as my profile: //https://kb.mozillazine.org/About:config_entries user_pref("app.normandy.api_url", ""); user_pref("app.update.auto", false); user_pref("app.update.checkInstallTime", false); user_pref("app.update.disabledForTesting", true); user_pref("browser.dom.window.dump.enabled", true); user_pref("browser.download.dir", "/home/seluser/automated-tests/downloads"); user_pref("browser.download.folderList", 2); user_pref("browser.newtabpage.activity-stream.asrouter.providers.cfr", "null"); user_pref("browser.newtabpage.activity-stream.asrouter.providers.cfr-fxa", "null"); user_pref("browser.newtabpage.activity-stream.asrouter.providers.message-groups", "null"); user_pref("browser.newtabpage.activity-stream.asrouter.providers.messaging-experiments", "null"); user_pref("browser.newtabpage.activity-stream.asrouter.providers.snippets", "null"); user_pref("browser.newtabpage.activity-stream.asrouter.providers.whats-new-panel", "null"); user_pref("browser.newtabpage.activity-stream.discoverystream.config", "[]"); user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); user_pref("browser.newtabpage.activity-stream.feeds.system.topstories", false); user_pref("browser.newtabpage.activity-stream.fxaccounts.endpoint", ""); user_pref("browser.newtabpage.activity-stream.tippyTop.service.endpoint", ""); user_pref("browser.safebrowsing.blockedURIs.enabled", false); user_pref("browser.safebrowsing.downloads.enabled", false); user_pref("browser.safebrowsing.malware.enabled", false); user_pref("browser.safebrowsing.passwords.enabled", false); user_pref("browser.safebrowsing.phishing.enabled", false); user_pref("browser.sessionstore.resume_from_crash", false); user_pref("browser.shell.checkDefaultBrowser", false); user_pref("browser.startup.homepage_override.mstone", "ignore"); user_pref("browser.startup.page", 0); user_pref("browser.tabs.closeWindowWithLastTab", false); user_pref("browser.tabs.warnOnClose", false); user_pref("browser.uitour.enabled", false); user_pref("browser.warnOnQuit", false); user_pref("browser.webapps.checkForUpdates", 0); user_pref("datareporting.healthreport.documentServerURI", "http://%(server)s/dummy/healthreport/"); user_pref("datareporting.healthreport.logging.consoleEnabled", false); user_pref("datareporting.healthreport.service.enabled", false); user_pref("datareporting.healthreport.service.firstRun", false); user_pref("datareporting.healthreport.uploadEnabled", false); user_pref("datareporting.policy.dataSubmissionEnabled", false); user_pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true); user_pref("devtools.console.stdout.chrome", true); user_pref("dom.ipc.reportProcessHangs", false); user_pref("extensions.autoDisableScopes", 0); user_pref("extensions.enabledScopes", 5); user_pref("extensions.installDistroAddons", false); user_pref("extensions.update.enabled", false); user_pref("extensions.update.notifyUser", false); user_pref("focusmanager.testmode", true); user_pref("general.useragent.updates.enabled", false); user_pref("geo.provider.testing", true); user_pref("geo.wifi.scan", false); user_pref("hangmonitor.timeout", 0); user_pref("idle.lastDailyNotification", -1); user_pref("marionette.log.level", "Info"); user_pref("marionette.port", 0); user_pref("media.gmp-manager.updateEnabled", false); user_pref("media.sanity-test.disabled", true); user_pref("network.cookie.lifetimePolicy", 2); user_pref("network.http.phishy-userpass-length", 255); user_pref("network.manage-offline-status", false); user_pref("network.sntp.pools", "%(server)s"); user_pref("plugin.state.flash", 0); user_pref("remote.log.level", "Info"); user_pref("security.certerrors.mitm.priming.enabled", false); user_pref("services.settings.server", ""); user_pref("startup.homepage_welcome_url", "about:blank"); user_pref("startup.homepage_welcome_url.additional", ""); user_pref("toolkit.startup.max_resumed_crashes", -1); user_pref("widget.gtk.overlay-scrollbars.enabled", false); All worked fine. But now with this new version of Firefox if I use that profile I see a popup asking me for my Primary Password. I do not have a primary password. Why has Firefox started asking me for one? What can I change in my user.js file to stop this?
附加的畫面擷圖

所有回覆 (3)

more options

Hi Current Firefox releases may ask for the Primary Password on startup to initialize encrypted storage (oskeystore). This should only happen once, try to enter a (short) dummy password to see if that stops asking for the PP.

有幫助嗎?

more options

Hi, its not asking for a new password. Its asking for my password, a password that I never created. So no idea why its doing that. Futhermore I use this profile every time so it won't just be a one time thing. It asks this every time as its like a brand new profile. So I need to know how to modify the user.js to stop this

有幫助嗎?

more options

Did you anyway try to enter a (fake) password to see if Firefox accepts this since 127+ now uses special encrypted storage that needs to be protected by a Primary Password ?

Firefox will create optout prefs in about config to be able to access this protected storage.

  • signon.management.page.os-auth.optout
  • extensions.formautofill.creditCards.reauth.optout

有幫助嗎?

問個問題

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