Should not display more than one "Primary Password" prompts.
Categories
(Core :: Security: PSM, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: mozilla-bugs, Assigned: keeler)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Whiteboard: [partial workaround: comment 103] [psm-roadblock] [possible cause: comment 84][psm-backlog])
Attachments
(9 files, 1 obsolete file)
26.99 KB,
patch
|
mayhemer
:
review-
|
Details | Diff | Splinter Review |
56.42 KB,
image/png
|
Details | |
88.47 KB,
image/png
|
Details | |
8.57 KB,
image/png
|
Details | |
9.32 MB,
video/mp4
|
Details | |
102.80 KB,
image/png
|
Details | |
351.26 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Reporter | ||
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
Reporter | ||
Comment 6•23 years ago
|
||
Comment 7•23 years ago
|
||
Comment 9•22 years ago
|
||
Comment 10•22 years ago
|
||
Updated•21 years ago
|
Updated•19 years ago
|
Comment 11•19 years ago
|
||
Comment 12•18 years ago
|
||
Comment 13•18 years ago
|
||
Reporter | ||
Updated•18 years ago
|
Reporter | ||
Comment 15•17 years ago
|
||
Comment 16•17 years ago
|
||
Updated•17 years ago
|
Comment 18•17 years ago
|
||
Reporter | ||
Updated•17 years ago
|
Updated•17 years ago
|
Comment 20•17 years ago
|
||
Comment 22•17 years ago
|
||
Comment 23•17 years ago
|
||
Comment 24•17 years ago
|
||
Comment 25•17 years ago
|
||
Comment 26•17 years ago
|
||
Comment 27•17 years ago
|
||
Comment 28•17 years ago
|
||
Comment 29•17 years ago
|
||
Comment 30•17 years ago
|
||
Comment 31•17 years ago
|
||
Comment 32•17 years ago
|
||
Comment 33•17 years ago
|
||
Comment 34•17 years ago
|
||
Comment 35•17 years ago
|
||
Comment 36•17 years ago
|
||
Comment 37•17 years ago
|
||
Comment 38•17 years ago
|
||
Comment 39•17 years ago
|
||
Comment 40•17 years ago
|
||
Comment 41•17 years ago
|
||
Comment 42•17 years ago
|
||
Comment 43•17 years ago
|
||
Comment 44•16 years ago
|
||
![]() |
||
Updated•16 years ago
|
Updated•16 years ago
|
Comment 46•16 years ago
|
||
Reporter | ||
Comment 47•16 years ago
|
||
Comment 48•15 years ago
|
||
Comment 49•15 years ago
|
||
Comment 50•15 years ago
|
||
Comment 51•15 years ago
|
||
Comment 52•15 years ago
|
||
Comment 53•15 years ago
|
||
Updated•15 years ago
|
Updated•15 years ago
|
Comment 54•15 years ago
|
||
Comment 55•15 years ago
|
||
Comment 56•15 years ago
|
||
Comment 57•15 years ago
|
||
Comment 58•15 years ago
|
||
Comment 59•15 years ago
|
||
Comment 60•15 years ago
|
||
Comment 61•15 years ago
|
||
Comment 62•15 years ago
|
||
Comment 63•15 years ago
|
||
Comment 64•15 years ago
|
||
Comment 65•15 years ago
|
||
Comment 66•15 years ago
|
||
Comment 67•15 years ago
|
||
Comment 68•15 years ago
|
||
Comment 69•14 years ago
|
||
Comment 70•14 years ago
|
||
Comment 71•14 years ago
|
||
Comment 72•14 years ago
|
||
Comment 74•14 years ago
|
||
Updated•14 years ago
|
Comment 75•14 years ago
|
||
![]() |
||
Comment 76•14 years ago
|
||
![]() |
||
Comment 77•14 years ago
|
||
Comment 79•14 years ago
|
||
Comment 81•13 years ago
|
||
Comment 82•13 years ago
|
||
Comment 83•13 years ago
|
||
Comment 84•13 years ago
|
||
Comment 85•13 years ago
|
||
Comment 86•13 years ago
|
||
Comment 87•13 years ago
|
||
Comment 88•13 years ago
|
||
![]() |
||
Comment 89•13 years ago
|
||
Comment 90•13 years ago
|
||
Comment 91•13 years ago
|
||
Updated•13 years ago
|
Comment 92•13 years ago
|
||
Comment 93•13 years ago
|
||
![]() |
||
Updated•13 years ago
|
Comment 94•13 years ago
|
||
Comment 95•13 years ago
|
||
Comment 97•13 years ago
|
||
Comment 98•13 years ago
|
||
Comment 99•13 years ago
|
||
Comment 100•13 years ago
|
||
Comment 101•13 years ago
|
||
Comment 102•13 years ago
|
||
Comment 103•13 years ago
|
||
Comment 104•13 years ago
|
||
Comment 105•13 years ago
|
||
Comment 106•13 years ago
|
||
Comment 107•13 years ago
|
||
Comment 108•13 years ago
|
||
Comment 109•13 years ago
|
||
Comment 110•13 years ago
|
||
Comment 111•13 years ago
|
||
Comment 113•13 years ago
|
||
Comment 114•13 years ago
|
||
Comment 115•13 years ago
|
||
Comment 116•13 years ago
|
||
Comment 118•12 years ago
|
||
Comment 119•12 years ago
|
||
Comment 120•12 years ago
|
||
Comment 121•12 years ago
|
||
![]() |
||
Comment 122•12 years ago
|
||
Comment 123•12 years ago
|
||
Comment 124•12 years ago
|
||
![]() |
||
Comment 125•12 years ago
|
||
Comment 126•12 years ago
|
||
Comment 128•11 years ago
|
||
Comment 129•11 years ago
|
||
Comment 130•11 years ago
|
||
Comment 131•11 years ago
|
||
Comment 132•11 years ago
|
||
Comment 133•11 years ago
|
||
Comment 134•11 years ago
|
||
Comment 135•11 years ago
|
||
Comment 137•11 years ago
|
||
Comment 138•11 years ago
|
||
Comment 139•11 years ago
|
||
Comment 140•11 years ago
|
||
Comment 141•11 years ago
|
||
Comment 142•11 years ago
|
||
Updated•11 years ago
|
Comment 143•11 years ago
|
||
Comment 144•11 years ago
|
||
Comment 145•10 years ago
|
||
Comment 146•10 years ago
|
||
Comment 147•10 years ago
|
||
Comment 148•10 years ago
|
||
Comment 149•10 years ago
|
||
Comment 150•10 years ago
|
||
Comment 151•10 years ago
|
||
Comment 152•10 years ago
|
||
Comment 153•10 years ago
|
||
Comment 154•10 years ago
|
||
Comment 155•10 years ago
|
||
Comment 156•10 years ago
|
||
Comment 158•10 years ago
|
||
Comment 159•10 years ago
|
||
Comment 160•10 years ago
|
||
Comment 161•10 years ago
|
||
Comment 162•10 years ago
|
||
Comment 163•10 years ago
|
||
Comment 164•10 years ago
|
||
Comment 165•10 years ago
|
||
Comment 166•10 years ago
|
||
Comment 167•10 years ago
|
||
Comment 168•10 years ago
|
||
Comment 169•10 years ago
|
||
Comment 170•10 years ago
|
||
Comment 171•10 years ago
|
||
Comment 172•10 years ago
|
||
Comment 173•10 years ago
|
||
Comment 174•10 years ago
|
||
Comment 175•10 years ago
|
||
Comment 176•10 years ago
|
||
Comment 177•10 years ago
|
||
Comment 178•10 years ago
|
||
Comment 179•10 years ago
|
||
Comment 180•10 years ago
|
||
Comment 181•10 years ago
|
||
Comment 182•10 years ago
|
||
Comment 183•10 years ago
|
||
Comment 184•10 years ago
|
||
Comment 185•10 years ago
|
||
Comment 186•10 years ago
|
||
Comment 187•10 years ago
|
||
Comment 188•10 years ago
|
||
Comment 189•10 years ago
|
||
Comment 190•10 years ago
|
||
Comment 191•10 years ago
|
||
Comment 192•10 years ago
|
||
Comment 193•10 years ago
|
||
Comment 194•10 years ago
|
||
Comment 195•10 years ago
|
||
Comment 196•10 years ago
|
||
Comment 197•10 years ago
|
||
Comment 198•10 years ago
|
||
Comment 199•10 years ago
|
||
Comment 200•10 years ago
|
||
Comment hidden (advocacy) |
Comment 203•10 years ago
|
||
Comment 204•10 years ago
|
||
Comment 205•10 years ago
|
||
Comment 206•10 years ago
|
||
Comment 207•10 years ago
|
||
Comment 208•10 years ago
|
||
Comment 209•10 years ago
|
||
Comment 210•10 years ago
|
||
Comment 211•10 years ago
|
||
Comment 212•10 years ago
|
||
Comment 213•10 years ago
|
||
Comment 214•10 years ago
|
||
Comment 215•10 years ago
|
||
Comment 216•10 years ago
|
||
Comment 217•10 years ago
|
||
Comment 218•10 years ago
|
||
Comment 219•10 years ago
|
||
Comment 220•10 years ago
|
||
Comment 221•10 years ago
|
||
Comment 222•10 years ago
|
||
Comment 223•10 years ago
|
||
Comment 224•10 years ago
|
||
Comment 225•10 years ago
|
||
Comment 226•10 years ago
|
||
Comment 227•10 years ago
|
||
Comment 228•10 years ago
|
||
Comment 229•10 years ago
|
||
Comment 230•10 years ago
|
||
Comment 231•10 years ago
|
||
Comment 232•10 years ago
|
||
Comment 233•10 years ago
|
||
Comment 234•9 years ago
|
||
Comment 236•9 years ago
|
||
Comment 237•9 years ago
|
||
Comment 238•9 years ago
|
||
Comment 239•9 years ago
|
||
![]() |
Assignee | |
Updated•9 years ago
|
Comment 241•9 years ago
|
||
Comment 242•9 years ago
|
||
Comment 243•9 years ago
|
||
Comment 244•9 years ago
|
||
Comment 245•9 years ago
|
||
Comment 246•9 years ago
|
||
Comment 247•9 years ago
|
||
Comment 248•9 years ago
|
||
Comment 249•9 years ago
|
||
Comment 250•9 years ago
|
||
Comment 251•9 years ago
|
||
Comment 252•9 years ago
|
||
Comment 253•9 years ago
|
||
Comment 254•9 years ago
|
||
Comment 255•9 years ago
|
||
Comment 256•9 years ago
|
||
Comment 257•9 years ago
|
||
Comment 258•9 years ago
|
||
Comment 259•9 years ago
|
||
Comment 260•9 years ago
|
||
Comment 261•9 years ago
|
||
Comment 262•9 years ago
|
||
Comment 263•9 years ago
|
||
Comment 264•9 years ago
|
||
Comment 265•9 years ago
|
||
Comment 266•9 years ago
|
||
Comment 267•9 years ago
|
||
Comment 268•9 years ago
|
||
Comment 269•9 years ago
|
||
Comment 270•9 years ago
|
||
Comment 271•9 years ago
|
||
Comment 272•9 years ago
|
||
Comment 273•9 years ago
|
||
Comment 274•9 years ago
|
||
Comment 275•9 years ago
|
||
Comment 276•9 years ago
|
||
Comment 277•9 years ago
|
||
Comment 278•9 years ago
|
||
Comment 279•9 years ago
|
||
Comment 280•9 years ago
|
||
Comment 281•9 years ago
|
||
Comment 282•9 years ago
|
||
Comment 283•9 years ago
|
||
summary |
Comment 284•9 years ago
|
||
Comment 285•9 years ago
|
||
Comment 286•9 years ago
|
||
Comment 287•9 years ago
|
||
Comment 288•9 years ago
|
||
Comment 289•9 years ago
|
||
Comment 290•9 years ago
|
||
Comment 291•9 years ago
|
||
Comment 292•9 years ago
|
||
Comment 293•9 years ago
|
||
Comment 294•9 years ago
|
||
Comment 295•9 years ago
|
||
Comment 296•9 years ago
|
||
Comment 297•9 years ago
|
||
Comment 298•9 years ago
|
||
Comment 299•9 years ago
|
||
Comment 300•9 years ago
|
||
Comment 301•9 years ago
|
||
Comment 302•9 years ago
|
||
Comment 303•9 years ago
|
||
Comment 304•9 years ago
|
||
Comment 305•9 years ago
|
||
Comment 306•9 years ago
|
||
Comment 307•9 years ago
|
||
Comment 308•9 years ago
|
||
Comment 309•9 years ago
|
||
Comment 310•9 years ago
|
||
Comment 311•9 years ago
|
||
Comment 312•9 years ago
|
||
Comment 313•9 years ago
|
||
Comment 314•9 years ago
|
||
Comment 315•9 years ago
|
||
Comment 316•9 years ago
|
||
STR |
Comment 317•9 years ago
|
||
Comment 322•9 years ago
|
||
Comment 326•8 years ago
|
||
Comment 327•8 years ago
|
||
Comment 328•8 years ago
|
||
Comment 329•8 years ago
|
||
Comment 330•8 years ago
|
||
Comment 331•8 years ago
|
||
Comment 332•8 years ago
|
||
Comment 333•8 years ago
|
||
Updated•8 years ago
|
Comment 334•8 years ago
|
||
Comment 335•8 years ago
|
||
Comment 336•8 years ago
|
||
Comment 337•8 years ago
|
||
Comment hidden (off-topic) |
Comment 339•8 years ago
|
||
Comment 340•8 years ago
|
||
Comment 341•8 years ago
|
||
Comment 342•8 years ago
|
||
Comment hidden (advocacy) |
Comment 344•8 years ago
|
||
Comment 346•8 years ago
|
||
Comment 347•7 years ago
|
||
Comment 348•7 years ago
|
||
Comment 349•7 years ago
|
||
Comment 350•7 years ago
|
||
Comment 351•7 years ago
|
||
Comment 352•7 years ago
|
||
![]() |
||
Comment 353•7 years ago
|
||
Comment 354•7 years ago
|
||
Comment 355•7 years ago
|
||
Comment 356•6 years ago
|
||
(In reply to Sisim Biva from comment #355)
Yeahhhh ! Great to see it solved in TB 60.2.1 :))))
Is there any official statement? What change did fix this?
I'm still using StartupMaster on Thunderbird which prevents this problem along with some other advantages - but I ran into trouble with Firefox...
I was using FF56 for almost 2 years now, ignoring the "deprecated" warnings - but there seems to be no solution for bug #1548973 for older versions, which disables some other add-ons.
Any progress in solving this one for Firefox?
Comment 357•6 years ago
|
||
No, it's not solved. I see the same problem again in 60.8.0
Comment 358•6 years ago
|
||
It's the truth. Bug can not remove 10 years. Terribly annoying behavior. This bug interferes with the efficiency of the computer, when you quickly type a long password and half of it is in the second window. Well that at least three Windows not coming up ! Probably transfer about 500 users on CHROME.
Comment 359•6 years ago
|
||
An update to Thunderbird 68 surprised me with a slew of incompatible extensions, including Startup Master that I used as a workaround for this bug.
I am pleased to report that the the native master password dialog is only appearing once for me as expected.
This may finally be resolved.
Comment 360•6 years ago
|
||
Same issue: my landing page request several master password. screenshot: https://photos.app.goo.gl/HpES1YeXYqtxLiDn9
Comment 361•6 years ago
|
||
Bug 1587927 should help reduce this for password manager triggered cases.
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment 365•6 years ago
|
||
Matt, is this multiple MP prompt still an issue? We believe we fixed most/all the issues in Thunderbird that came from mail code, see my last comment on the issue in bug 584014 comment #71.
Comment 366•6 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Comment 367•6 years ago
|
||
on Windows 7 x64 en-US firefox 71.0 this does seem to be resolved, I get only one Master Password Prompt
Comment 368•6 years ago
|
||
(In reply to Jorg K (GMT+1) (PTO to 5th Jan 2020, sporadically reading bugmail) from comment #365)
Matt, is this multiple MP prompt still an issue? We believe we fixed most/all the issues in Thunderbird that came from mail code, see my last comment on the issue in bug 584014 comment #71.
I think this bug is about preventing the root case in PSM code that opens the dialog whereas Firefox and TB have worked around the issue by adding its own logic. I think it would still be good to have PSM code focus/re-use an existing MP dialog when one is already opened.
Comment 369•6 years ago
|
||
FWIW, Thunderbird 68 still has problems with multiple MP dialogs (for me as well as other users apparently), so if there's a central component that could fix it in a single shot, that would probably be a very good investment in product quality.
I also think it would be very reasonable to solve it the way that's suggested in this bug report. I'm actually thinking in terms of a singleton, but of course I'm not at all familiar with your codebase. Good luck.
Comment 370•6 years ago
|
||
Still an issue here (thunderbird 68.2.2 (64-bit) on kubuntu linux 19.10). Multiple IMAP accounts and multiple SMTP servers.
- Thunderbird asks for the password at least twice on startup.
- If one is not fast at entering the passwords, thunderbird floods the display with password windows.
- Startup Master that was working around the issue does not work anymore, so no workaround currently exists.
Comment 371•6 years ago
|
||
This issue has been ongoing for a long long time eh ☹️ Startup Master used to fix the issue but alas that no longer works with the latest Thunderbird and Firefox builds ☹️
To get around the issue of multiple prompts in Thunderbird, turn off ”check mail on startup” for all accounts except your primary one. This should present you with just one prompt to enter your master password. The other accounts will all have there checking deferred if the other option ”check mail every n minutes” is enabled.
If you don't respond to this prompt before the ”check mail every n minutes” option gets triggered then you'll get the multiple prompts again. In this case perhaps increase the ”n” minutes to allow for the distracted focus or don't get distracted 😉
For Firefox, as far as I can tell, the issue only occurs, if you have the ”open windows/tabs from last time” option enabled or are restoring from a saved session, and, there's more than one window opening. Each window containing at least one tab that triggers a login event then triggers the ”Master Password” prompt. So if your restored session has say 5 windows and 3 of those windows have tabs that request some sort of login details then you get 3 prompts.
What needs sorting is for PSM ”Password Session Manager” to keep track of the dialog/window used to request the ”Master Password” and if it's already been created then to trigger the focus on it again instead of creating another one.
In the older days of UI/UX this would've been a modal dialog/window that would block the parent window from receiving input until the modal had been confirmed or cancelled. However most new UX standards seem to recommend not ”blocking” the UI and instead use notifications or refocusing attention. Perhaps this isn't as easy as I think because the issue is with PSM which might be running as a separate process?
Comment 372•6 years ago
|
||
For Firefox, as far as I can tell, the issue only occurs, if you have the ”open windows/tabs from last time” option enabled or are restoring from a saved session,
Can you specify which version and which build and on which Operating System ?
this has stopped being an issue since the last 3 builds for me on Windows
issue of multiple prompts in Thunderbird, turn off ”check mail on startup”
Sorry I don't use that so can't comment
Reporter | ||
Comment 373•6 years ago
|
||
I see two dialogs on startup, using thunderbird-68.3.0-3.el6.centos.x86_64 on CentOS Linux 6.10. [wow, "Opened 17 years ago"]
Comment 374•6 years ago
|
||
I haven't experienced symptoms in Thunderbird since installing the Startup Master extension some years ago. Much to my delight, symptoms did not return after Startup Master became incompatible.
I have 6 email accounts, two of which are Gmail using OAuth, as well as several calendars from various sources, including Google, as well as ICS feeds and CalDAV. All the email accounts have 'Check for new messages at startup' enabled.
Information for package MozillaThunderbird:
Repository : Mozilla based projects (openSUSE_Leap_15.1)
Name : MozillaThunderbird
Version : 68.3.1-lp151.2.1
Arch : x86_64
Vendor : obs://build.opensuse.org/mozilla
Installed Size : 174.5 MiB
Installed : Yes
Status : up-to-date
Source package : MozillaThunderbird-68.3.1-lp151.2.1.src
Comment 375•6 years ago
|
||
(In reply to Link @ QPG from comment #374)
I haven't experienced symptoms in Thunderbird since installing the Startup Master extension some years ago. Much to my delight, symptoms did not return after Startup Master became incompatible.
I have 6 email accounts, two of which are Gmail using OAuth, as well as several calendars from various sources, including Google, as well as ICS feeds and CalDAV. All the email accounts have 'Check for new messages at startup' enabled.
Same here. Two Gmail IMAP accounts with 'Check for new messages at startup' enabled and a couple of Google calendars via CalDAV. Only one master password dialog on startup. Thunderbird 68.3.1 on Windows.
Comment 376•6 years ago
|
||
THose of you who state only a single master password dialog: Can you test if you get multiple ones if you leave TB with that initial dialog open/unanswered for a while? I expect that you will get multiple dialogs if you wait until TB starts looking for new messages according to your configured schedules. At least that's what happens to me.
Comment 377•6 years ago
|
||
leave TB with that initial dialog open/unanswered for a while
Filed as bug 1606711 for Thunderbird.
Comment 378•6 years ago
|
||
@Julz and others. I currently have no account at all with "Check email on startup" ticked, all my accounts have checking intervals in the 5-10 min range. Still, with this I get 3 master password dialogs at startup, which become even more if I wait to enter my password in them.
After this test the matter is even more nasty. Why is thunderbird asking me the password 3 times if it is not even checking my email accounts?
Is there a way to know what thunderbird is trying to access saved passwords for?
Comment 379•6 years ago
|
||
Please comment in bug 1606711 for Thunderbird.
Comment 380•6 years ago
|
||
Inspired by comments saying that some users were not experiencing the issue, I have decided to restart from an empty profile. This has been a quite painful experience, re-adding and reconfiguring extensions, adding and configuring multiple email accounts, each with its imap and smtp server, configuring some local email stores, re-adding address books took me hours. However, the issue is now gone. So I would say that the issue is caused by incorrect profile information, which in turn likely comes from incorrect interpretation or migration of past configuration formats.
Incidentally, in the experience I have learnt the following items:
-
trying to reuse past address books mab files with the addressbooksynchronizer extension is error prone. It gave me errors in importing one of the mab files. I had to export it as CSV and re-import the addresses. In this way all the mailing lists are lost, and I had to export them individually as CSV files, which was a real pain. I really think that TB should learn to export/import its address books in some JSON or YAML format preserving the mailing lists.
-
There is no easy way to export/import an email account configuration. TB should learn to export/import account configuration in some structured text format (JSON or YAML).
-
Creating new email accounts from scratch, they get set up with the "Keep messages in all folders for this account on this computer" and "Syncronize all messages locally regardless of age". IMHO this is looking for trouble. Downloading many GBs of messages from each account quicly filled my disk blocking my machine and risking data loss. I think that TB should default to only sync locally /recent/ messages on IMAP accounts. The issue is made worse by the fact that when you change the setup TB does not reclaim the space.
Comment 381•6 years ago
|
||
This is all off-topic in this bug which is about fixing a multiple password issue at Mozilla Core level. However, I have the following remarks:
- Sadly TB is lacking a "refresh profile", see bug 584014 comment #85 and below. One experiment one could to for a refresh would be to remove all prefs from prefs.js other than the ones listed below. OF COURSE after making a backup. I filed bug 1608031 for "refresh profile".
- Did you look at https://addons.thunderbird.net/en-GB/thunderbird/addon/importexporttools-ng/ ? I don't know whether it can handle address books.
- The hack way to maintain account setup is to copy the account part of the old prefs.js to the new prefs.js. That would be the
mail.account.*
,mail.identity.*
,mail.server.*
andmail.smtpserver.*
prefs. There is alsomessenger.account.*
for chat accounts. Warning: Just a suggestion, I've never tried it myself. - I believe that copying the
ldap_2.*
prefs and copying the .mab files would also copy over the address book information.
Comment 382•6 years ago
|
||
(In reply to Sergio Callegari from comment #380)
Inspired by comments saying that some users were not experiencing the issue, I have decided to restart from an empty profile. This has been a quite painful experience, re-adding and reconfiguring extensions, adding and configuring multiple email accounts, each with its imap and smtp server, configuring some local email stores, re-adding address books took me hours. However, the issue is now gone. So I would say that the issue is caused by incorrect profile information, which in turn likely comes from incorrect interpretation or migration of past configuration formats.
Do you have a copy of the old profile? Maybe you could diff them and come up with interesting differences, as clues to what may be causing the multiple password prompts as well as bugs in the profile upgrades, that need to be fixed?
Comment 383•6 years ago
|
||
@Sergio Callegari, I know I'm continuing off-topic a bit, but there are other bugs for converting Thunderbird's data to a newer and more performant format, like bug 11050 (which has been open 21 years...) or bug 361807. Thunderbird just doesn't get as much love as Firefox, which has been entirely converted. I'd love to see json for configuration and sqlite/localStorage for everything else, too.
I know the feeling, I'm still rocking FF and TB profiles that have been continually migrated from Netscape 6, despite many extensions and customizations over the decades; never refreshed but occasionally manually cleaned up. Firefox has dealt pretty much without issue. It sounds like it's time to just bite the bullet and redo my TB from scratch to eliminate the need for StartupMaster. The steady attrition of people doing so might be why this bug has become a lot less active over the years.
Comment 384•6 years ago
|
||
I've spent some time investigating the code and what's happening. All decryption goes through the UI thread, which then brings up the prompt. The event loop spins while it's showing, so other activity is called, decides it needs a login, will call decrypt, which will bring up another prompt. We cannot block in those scenarios, as it would prevent being able to unwind the lower place in the call stack. We also cannot simply return a failure to that additional activity, as that will cause it to run into a failure scenario (prompt for server password).
The only "real" solution I see at the code level:
- we must change the login decryption to be async
- if we're in the middle of decryption, while another request to decrypt is received, it must return "would block"
- all code that attempts to decrypt a login needs to be prepared to get a "would block" answer, and set some timeout to try again later (or wait for some new broadcasted event that we'd define)
Comment 385•6 years ago
|
||
Kai, I believe you're got it conceptually. It seems that the decrypt function should have been implemented as a singleton. Then all subsequent callers would be blocked until the first thread which called either got a correct password, or failed. I think I've seen that suggestion in other comments over the years related to this issue.
Comment 386•6 years ago
|
||
More off topic:
(In reply to kjell from comment #382)
Do you have a copy of the old profile? Maybe you could diff them and come up with interesting differences, ...
It could be that the issue is not in the preferences (prefs.js) but is due to the migration of security databases cert8.db->cert9.db and key3.db to key4.db. Obviously a new profile won't have migrated files.
Comment 387•6 years ago
|
||
Have not read the above chain ... but at least i have not open a new bug ... I could could imagine that for security reasons its not easy to reduce these multiple master password request into one request ... but each of these multiple request should at least identify the reason or the entity that request the password ... iI get 5 requests ... i don't known "what" is on the other side ... that is also a security problem ... so a title which identify the originating entity would be nice ... thanks
Comment 388•5 years ago
|
||
Thunderbird users who still see a problem when using Thunderbird 78.3.0 or 82 beta, and don't see a match to their problem in this query, please file a new bug in Thunderbird https://bugzilla.mozilla.org/enter_bug.cgi?product=Thunderbird&component=Security
Comment 389•4 years ago
|
||
Note: due to bug 1721084 this started to happen very often for many users again.
this = multiple master/primary password dialogs appearing
Comment hidden (advocacy) |
Comment 391•4 years ago
|
||
On 91.0.1 I am always getting the first password dialog duplicated (i.e. two times almost at the same time). Then I am getting further random password dialogs while working.
This is particularly annoying in linux where you use virtual desktops, because:
- the dialogs often appear on some other desktop than the one where you use firefox because as you work you change desktops
- when you get back to the desktop where you have firefox, you do not realize there was some password dialog open somewhere else, you try to use firefox, everything at the first instant seems to work because the password dialogs are not modal, but firefox cannot load pages and everything looks like you have a network issue.
If I could vote the single thing that would make me desire to jump to another browser, this would be it. Fortunately, I see many reasons to stay ;-)
Comment 392•4 years ago
|
||
(In reply to David Balažic from comment #389)
Note: due to bug 1721084 this started to happen very often for many users again.
this = multiple master/primary password dialogs appearing
After that bug is fixed, this still happens.
I have 91.0.2 and after start I got two password dialogs. One is blocking the other (modal). See attached screenshot.
Comment 393•3 years ago
|
||
Just want to add my two cents: On MacOS I get this in Firefox, too. The problem here is more severe, though, because Firefox will lock up itself with a password prompt in the background. This prompt in the background cannot be closed and nothing can be entered. Even if I enter the right password in the foreground password prompt the prompt in the background stays. I can only hard close firefox.
The only way I can startup firefox is:
- Start the browser
- Hold ESC the whole time so popping up password prompts get closed before they overlap
- After things have settled (about 5 seconds) I manually trigger the password prompt by clicking on my firefox account menu bar button (which seems to trigger the password prompt)
- Now only one password prompt opens, I can enter my password, all good
I've attached a video to show it what happens when I don't hold ESC and the non closable password prompt gets created in the background.
Actually it is like this fore some years like this already, currently on 98.0b7. I had multiple profile changes in between, only connected by firefox sync.
Comment 394•3 years ago
|
||
The issue keeps happening. Leaving the machine for a short time and coming back it is not unusual to find 5-6 password dialogs on screen. Similarly it is not unusual to get a password dialog opening while you are writing in another password dialog. Unfortunately is one of those little irritating things that can severely harm the impression of professional grade users get of a software and make they jump elsewhere (much more of performance differences whose appreciation is almost negligible on fast machines anyway).
Having multiple unnecessary password dialogs opening all the time is also a security issue. When there are too many, people stops giving any due attention to them and just mechanically typing it the password. I am pretty sure that making a malicious app or website showing something just barely resembling the firefox password dialog would allow some evil person to capture tons of firefox primary passwords due to the way users have starting dealing with them because of their inflation. Security people know well that an important ingredient for a successful phishing attack is to abuse something the victim will expect and not give due attention to.
Please start consider this problem not as a minor nuisance but as something that can actually actively promote phishing or compromise the secrecy of primary passwords.
If this feature cannot be made to work properly, may I suggest providing a switch in the passwords
setup section letting the internal password store be disabled altogether in favor of password managers available as extensions?
Comment 395•3 years ago
|
||
(In reply to Sergio Callegari from comment #394)
The issue keeps happening. Leaving the machine for a short time and coming back it is not unusual to find 5-6 password dialogs on screen.
Hello Sergio,
Could you try to reproduce the problem with a totally new installation of Firefox, a totally new profile please, absolutely no extension and all the default settings? On which operating system are you having this problem? Do you new how to create a new profile (and be sure that you are not using your previous profile)?
I have been having this problem of multiple displays of the "Master Password" prompt for a long time until I started anew with a new Firefox installation and a new profile. I got this solution by reading this ticket some years back. And anyway starting anew with a clean slate (new install+new profile) is a good thing for the security and speed of your browsing. It takes some time afterward to tune everything again, but it will walk you through all the previous settings you had set, it will rise questions. For my case starting anew with a clean state also solved other bugs I had (some security settings I had manually set in about:config but which were not appropriate anymore, etc.).
With your totally fresh installation, if the problem persist what would be helpful would be that you coin what specific settings are producing the situation the multiple displays.
And could you then report back here whether it solved your problem or not please?
Best regards
Comment 397•3 years ago
|
||
Screenshot with two password windows...
Comment 398•3 years ago
|
||
Screenshot above (https://bugzilla.mozilla.org/attachment.cgi?id=9279421) was taken with a quite recent firefox (101.0) on an almost fresh profile (I have re-installed all the extensions that I like to have).
My extensions are:
- Cookie autodelete
- EzProxy Redirect Foxified
- Facebook container
- Feedbro
- Firefox Multi Account container (no containers being used at the time of the incident)
- Markdown Viewer
- PassFF
- Plasma Integration
- Print Edit WE
- Simple Google Translate
- uBlock Origin
Behavior was quite interesting:
- A first password required dialog opened;
- While typing into it, a second one opened, stealing focus, which is why you see password dots in both dialogs, since as I was typing characters started going into the new window
- Filling the most recently appeared dialog is needed, if you cancel a new dialog appears.
- Once this dialog is filled, what you typed in the the previous one does not matter at all. You can press Sign-in with any text as the password and the first dialog goes away.
Is something producing a fake dialog here?
Comment 399•3 years ago
|
||
(In reply to Sergio Callegari from comment #398)
Screenshot above (https://bugzilla.mozilla.org/attachment.cgi?id=9279421) was taken with a quite recent firefox (101.0) on an almost fresh profile (I have re-installed all the extensions that I like to have).
My extensions are:
- Cookie autodelete
- EzProxy Redirect Foxified
- Facebook container
- Feedbro
- Firefox Multi Account container (no containers being used at the time of the incident)
- Markdown Viewer
- PassFF
- Plasma Integration
- Print Edit WE
- Simple Google Translate
- uBlock Origin
Behavior was quite interesting:
- A first password required dialog opened;
- While typing into it, a second one opened, stealing focus, which is why you see password dots in both dialogs, since as I was typing characters started going into the new window
- Filling the most recently appeared dialog is needed, if you cancel a new dialog appears.
- Once this dialog is filled, what you typed in the the previous one does not matter at all. You can press Sign-in with any text as the password and the first dialog goes away.
Is something producing a fake dialog here?
Hello, I had the same issue earlier and it was fixed by deleting every setting of the GUI I use. Can you please try to setup a new user on your OS and try the same with it. If the multiple dialog isn't present, than probably your GUI's setting are the cause (especially if you upgraded your OS several times, keeping the GUI settings).
Comment 400•3 years ago
|
||
That may be the case, but interestingly Firefox is the only browser showing this behavior. From what you say, I wonder if the plasma integration add-on could be under suspicion, being the only item interacting with the rest of my OS graphical environment.
Comment 401•3 years ago
|
||
No, I'm also using the Plasma Integration add-on, and I don't faced this issue since years. I am also deleting the user settings after some OS upgrades if I see any unusual behavior. If it works well with a new user, you can try to delete first only the GTK setting of your existing user with the following command: tar -czf gtk_configuration_$(date +%D).tar.gz .gtk* .config/gtk* ; rm -rf .gtk* .config/gtk*
After the execution logout from your account and login again. If you would need those settings, you can restore them from the tar.gz file.
If it doesn't works, than you should go with the deletion of the whole user configuration:
tar -czf user_xyz_configuration_$(date +%D).tar.gz .local/ .config/ .kde4; rm -rf .local/ .kde4/ .config/
But first try it with a totally newly created OS user to make sure that this is your case too.
Comment 402•3 years ago
|
||
I am still trying to investigate the issue. I am now getting it again on a recently installed Manjaro machine. I still have not managed finding out if it depends on something on the profile or a specific extension. However I have found something that sounds a bit worrying to me:
Is one of the dialogs fake, that is a window /pretending/ to be a firefox dialog?
When I am getting multiple dialogs, one of them appears to behave differently from the others. Whatever you type in it when you press OK it goes away, no matter if you have typed the wrong password or the right one or complete nonsense. For all the other dialogs, if you enter the wrong password, then a new dialog appears prompting again.
Are others who get multiple password dialogs experiencing the same issue?
Comment 403•3 years ago
|
||
Yes, I see the same: two prompts, one of which seems happy to accept any text, the other which returns if the wrong text is entered.
Comment 404•3 years ago
|
||
I'm not sure why you guys would expect anything else to happen; you can't decrypt an already open secure store again, and the dialog box NEVER produces a message on error, it just goes away no matter what until the next attempted store access, which will normally occur immediately after it closes. So when you put the real password in, it decrypts, and then anything you type in the next one will either get an error of store already open, or perhaps wrong password, assuming it even bothers to check the result.
Comment 405•3 years ago
|
||
Well, Emily, actually I would. While I agree that "you can't decrypt an already open secure store again" I would argue that it is a bug in the first place to ask again for a password for an already decrypted secure store. Once the store is decrypted TB should be silent ...
Comment 406•3 years ago
|
||
And forgot to say, yes, if the first input is wrong, i.e. the input does not allow to decrypt the store, then of course, TB should ask back. However, with a bit of a different message, please. For example "Authentication failed: Please re-enter password" or something similar. And please add the feature to visualize the password and/or indicated whether caps lock is active. However, caps lock is not the only trap here. I don't know how many times I tricked myself because I was not aware the active keyboard layout was different from what I saw on the keys. And for whatever reason, even brand new wireless keyboards have the bad habit to eat input characters ...
Comment 407•3 years ago
|
||
@Emily Bowman
I'm not sure why you guys would expect anything else to happen
the dialog box NEVER produces a message on error, it just goes away no matter what until the next attempted store access
Indeed. I have checked that if I "cancel" the first modal dialog, then the second modal dialog does not go away if I enter a wrong password. This is somehow reassuring that the dialog is not something not part of firefox created ad hoc to capture my master password, but most likely really a second password dialog from firefox that should not appear but does.
So in some sense this is reassuring.
On some other level it is not. Suppose that one had on the system a malicious application or whatever showing a master password dialog pretending to be firefox just to capture the password. One would easily recognize it if firefox systematically repeated the password prompt in case of a wrong password. In fact the malicious application would not be able to to that, not knowing how to recognize the correct password beforehand. But now, it turns out that also firefox shows password dialogs that do not re-prompt if one enters a wrong password. So to distinguish in between the two by behavior is not possible.
For this reason IMHO it is even more important that firefox avoids producing multiple password dialogs, no matter how outdated or even broken the user profile or what extensions and add-ons he/she has installed.
As a final remark, I would add that my impression is that the second password dialog is the result of a race, because it tends to appear /immediately/ after the first one is displayed.
Comment 408•3 years ago
|
||
I managed to solve this for my case by removing the Vaultpass extension which must have also tried to check the password storage at Firefox startup causing not just the regular master password prompt popup but a second one to follow shortly after right as the extension's toolbar icon appeared (Bit of a visual give-away on which extension was the cause in my case)
I verified this by running firefox with the --safe-mode
argument which did not feature the problem then went back to normal and started by removing Vaultpass and that seemed to do the trick.
Not sure how this behavior is a 20 year old bug, FF really should check if the prompt is already on-screen and bring attention to that instead of creating yet another master password prompt window in any scenario. This issue has lead to many cases of half typing a password in one field and then having keyboard focus stolen by the next master password popup for the second half many times as I open the browser. Glad to have my specific scenario worked around by not using that extension for the time being.
Comment 409•3 years ago
|
||
As a workaround "security.prompt_for_master_password_on_startup" like it is done in Thunderbird would fix this, so that it displays the prompt before starting Firefox. Maybe this is simpler to implement?
Comment 411•3 years ago
|
||
This mostly stopped happening for me lately, but today it happened again, maybe related to the recent update to v104 (on Windows).
After starting firefox (with restored tabs and windows), several primary password prompts appeared. About 6 or so, all one under the other.
Entering the (correct) password in one did not close the others.
Furthermore, as the other passwords were exactly below the first, it appeared that after clicking OK in the first dialog a new one appeared in its place, making the user think the password entered was not correct (there is no other feedback whether the password is correct or not, except that in case of wrong password the dialog reappears).
I did several restarts of firefox and the behavior is not consistent:
- first I got half of dozen dialogs, as described above
- on next start I got two
- then I got none (until I opened a webpage that used a saved login)
- then I got one dialog
Comment 412•3 years ago
|
||
Happened again right now, after resarting for the 104.0.1 update:
- start firefox
- open about:profiles
- launch another profile
- wait for the restored windows to appear
Result:
- 3 password dialogs
I entered a few leading characters of the password in dialog 1.
I entered the password in dialog 2, clicked "Sign in", the dialog disappeared.
I clicked "Sign in" in dialog 3, the dialog disappeared.
I clicked "Sign in" in dialog 1, the dialog disappeared, bu a new one appeared.
I clicked "Sign in" in the new dialog, the dialog disappeared, bu a new one appeared.
So I entered my password again, clicked "Sign in", the dialog disappeared, and apparently the password was finally accepted.
Comment 413•3 years ago
|
||
firefox 105.0.1
after starting from about:profiles with "Launch profile in new browser" I get a lot of password dialogs. See screenshot. There were 9 dialog on the top left (all at same position; I dragged then down for the screenshot so all are visible) and one above a FF window (in the screen shot the right one).
A few days before I got 7 of them.
It seems since a few days this happens each time I start FF (with restoring the old session).
Note: seems, not confirmed. Currently I exited FF running the second profile, but there are firefox.exe processes in the background still running and I can't launch the profile until they go away. Will report later.
PS: As this bug is 20 years old and has over 400 comments and not a lot of developer activity, would it be better to close it and open a fresh bug for current issues?
Comment 414•3 years ago
|
||
(In reply to David Balažic from comment #413)
Note: seems, not confirmed. Currently I exited FF running the second profile, but there are firefox.exe processes in the background still running
Actually, FF was running as if I had not pressed ctrl+shift+Q , maybe I typed it into another window...
After closing that profile and starting it again (same way as above), there were zero primary password dialogs. Only one appeared after I opened a website that has a saved password.
So it seems pretty random...
Updated•3 years ago
|
Comment 415•3 years ago
|
||
Had a funny experience. Left a PC on over Tue-Wed-Thu the past week by mistake, with a locked screen and firefox on. When I came back there were 189 password prompts open on the screen and the taskbar had an interesting aspect. Now, I really start thinking that the only solution to this issue may be checking the ability to check the scripting abilities of the window manager (I understand that kwin supports scripting) and hack together a script that simply kills every second password prompt by firefox as soon as it is produced.
Comment 416•3 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 21 duplicates, 141 votes, 188 CCs and 14 See Also bugs.
:keeler, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 417•3 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Comment 418•3 years ago
|
||
As the bug is still relevant, I took to liberty to readd the needinfo.
Also, new data:
After updating FF to 106.0, I got a "Password Required - Mozilla Firefox" dialog asking for the Primary Password. I started typing the password but after a second or two another same dialog appeared, took the focus and I continued typing in it. The new dialog is "modal" to the first one, that is: clicking on the old dialog activates the seconds one, flashing its window bar.
Also: opening a website with a saved password in another Firefox windows brings up another modal password dialog in that window.
![]() |
Assignee | |
Comment 419•3 years ago
|
||
I think the current severity is appropriate.
Comment 420•3 years ago
|
||
I am seeing similar behaviour in Thunderbird with a Primary Password set. If I run TB and leave the Primary Password prompt be for a couple of minutes (e.g., to do something else in a different application window), another Primary Password prompt is opened in the background.
I guess that the frequency of spawning of additional password prompt(s) may be influenced by the mail check intervals specified for the individual e-mail accounts (i.e., the longer the delay between mail checks, the lesser the frequency).
![]() |
Assignee | |
Updated•3 years ago
|
Comment 421•3 years ago
|
||
@nvx2004 for thunderbird there is a nice workaroud at least: set security.prompt_for_master_password_on_startup to true. This makes the prompt appear before startup only once.
I think this would be a good workaround for firefox, too, if the underlying issue is too hard to fix. Just ask for the password on startup before doing anything else. It could be implemented so that if the user canceled it, it would go on with startup like before (probably triggering multiple prompt afterwards like it does now), but for users entering the password on startup the bug goes away.
Comment 422•3 years ago
|
||
@Markus: Hmm, I already have this preference set to true
(has been as such by default). Maybe it helped in earlier Thunderbird versions, but it certainly does not fix the problem now...
Comment 423•3 years ago
|
||
@Markus & @nvx2004: I have TB running on two macs, same TB version, both with security.prompt_for_master_password_on_startup
set to true
. On the older machine, with the older profile, I now only get one prompt. And this started to be only one after some kind of recent changes (last six months or so). On the newer machine I get the startup prompt + a post-startup prompt. Same email accounts, same calendars set up. 🤷
So you both are right I suppose.
![]() |
Assignee | |
Comment 424•3 years ago
|
||
The previous implementation used some heavyweight, outdated, and unnecessary
components to achieve its effect. This patch greatly simplifies the
implementation.
Updated•3 years ago
|
![]() |
Assignee | |
Comment 425•3 years ago
|
||
Unfortunately, since NSS can prompt for PKCS#11 authentication on the main
thread, the prompt in question results in a nested event loop, which means that
the prompt code can be re-entered and another prompt can appear before the
first is dealt with. As long as NSS can run on the main thread, this will
continue to be the case. Recently we've done a lot of work to prevent NSS
running on the main thread, but that work is by no means complete. In the
meantime, we can paper over this situation by cancelling any prompts that come
after one that is still in progress. This will cause some NSS operations to
fail in a way that should be recoverable by simply retrying them (e.g. the user
can refresh the page or close and re-open it).
Depends on D164279
Comment 426•3 years ago
|
||
Comment 427•3 years ago
|
||
How will the 'refresh the page or close and re-open it' work with any extension syncing causes of Master Password Prompts ?
Comment 428•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9a4f4672b74c
https://hg.mozilla.org/mozilla-central/rev/1d04423d3e5d
Description
•