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

搜索 | 用户支持

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

详细了解

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

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题