Firefox started asking for Primary Password when I launch it
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?
All Replies (3)
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.
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
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