multiple primary password prompts with multiple accounts registered and prompt is ignored on linux
Categories
(Thunderbird :: Security, defect)
Tracking
(Not tracked)
People
(Reporter: debilerpc, Unassigned)
Details
Attachments
(1 file)
|
48.07 KB,
image/png
|
Details |
This has been happening for years. If it was fixed at some point I haven't noticed, but it's definitely back. Users have commented on the old report that it's back but it hasn't been reopened. I'm having it happen on v102.7, 2 years later. If there is a newer report for this regression I couldn't find it.
Reproduction steps are the same as the original report, but prompts appear every 15 minutes, presumably because that's the "check for new email" interval I have configured.
It's now called "primary password" but the basic behavior is the same.
What makes this so annoying is that it's not enough to enter the password to make the prompts go away. After entering the password once, the other prompts have to be closed manually before Thunderbird opens.
This is only really an issue if you have Thunderbird in autostart, because it means you may not immediately want to interact with Thunderbird after it starts.
Operating System: EndeavourOS
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.11-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-4300U CPU @ 1.90GHz
Memory: 7,5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4400
Manufacturer: LENOVO
Product Name: 20ARS1M901
System Version: ThinkPad T440s
+++ This bug was initially created as a clone of Bug #584014 +++
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.7) Gecko/20100713 Lightning/1.0b2 Thunderbird/3.1.1In short: If I start Thunderbird and go fetch a coffee, there are multiple master password prompts stacked upon each other when I return.
more details:
I store my account passwords in Thunderbird and use a master password. The number of stacked password prompts is equal to the number of registered accounts (IMAP in my case). The first master password prompt appears right after the start of Thunderbird . If the prompt is ignored, every 5 minutes (quite exactly) another password prompt appears at the exactly same location without closing the previous one. This continues until there are exactly as many password prompts as registered email accounts. If I enter my password in one of the visible prompts, the others continue to stay visible but no new ones appear.This is not a big deal, but it is a bit annoying. I always think that I entered a wrong password because the topmost prompt disappears after my input but the one below - which was hidden by the topmost one - comes into focus "re-prompting" my password.
Reproducible: Always
Steps to Reproduce:
Have more than one (imap) account Have stored the password for these accounts secured by a master password Start Thunderbird and ignore it for at least five minutesActual Results:
If you now move the password prompt, you will see a second prompt beneath it. The second prompt stays visible even after supplying the correct password to the first prompt.Expected Results:
There should only be one active password prompt at any given time.
What if Thunderbird simply were to check before opening a prompt whether an identical prompt is already open? Wouldn't that theoretically get rid of this issue once and for all?
Comment 2•3 years ago
|
||
This has definitely been happening for a very long time. I used to use an extension called "Master Password+" which dealt with this very well, but that's not been compatible after TB 62.
https://addons.thunderbird.net/en-US/thunderbird/addon/master-password/
In the short term you can work around this issue by switching off "Check for new messages at startup" on all of your accounts. TB will still ask for your primary password when you start it, once, but this has two side effects:
- You need to press "Get Messages" manually (usually in your toolbar) to retrieve new messages after entering your primary password to open TB, or wait until "Check for new messages every X minutes" triggers. (This is still more favourable to getting a much higher quantity of duplicate prompts.)
- If you ignore the prompt you will still get duplicates, which seem to be delayed according to an account's "Check for new messages every X minutes" setting, so you may want to set this to 10 minutes (or longer) if you use it. (If this is just 1 minute you'll likely get duplicates still.)
If its also relevant to you, you only have to answer one of those primary password prompts correctly to unlock TB's password vault. Once unlocked, in all the duplicates you can click OK or press enter leaving the password input empty and they just dismiss happily as if you'd put in the correct password.
Comment 3•3 years ago
|
||
(In reply to sonofevil from comment #0)
This has been happening for years. If it was fixed at some point I haven't noticed, but it's definitely back. Users have commented on the old report that it's back but it hasn't been reopened.
We don't reopen bugs which have a fix, as long as they are at least partially effective. In part, because not all users report the "same issue" are actually facing the same bug - for example the cause can be different depending on the OS.
Case in point, bug 1512083 comment 46 suggests it will be fixed by bug 1778725 would be. But bug 1778725 (fixed in 102.2.2 2022-08-17) is Mac specific. Some of the users in bug 584014 were also on Mac.
I'm having it happen on v102.7, 2 years later. If there is a newer report for this regression I couldn't find it.
Reproduction steps are the same as the original report, but prompts appear every 15 minutes, presumably because that's the "check for new email" interval I have configured.
It's now called "primary password" but the basic behavior is the same.
Please use that new terminology in new bug reports. (Bug summary now corrected)
What makes this so annoying is that it's not enough to enter the password to make the prompts go away. After entering the password once, the other prompts have to be closed manually before Thunderbird opens.
This is only really an issue if you have Thunderbird in autostart, because it means you may not immediately want to interact with Thunderbird after it starts.
I do not understand this last sentence. Please elaborate.
Also, is linux the only OS where you see this problem?
Comment 4•3 years ago
|
||
(In reply to sonofevil from comment #0)
This has been happening for years. If it was fixed at some point I haven't noticed, but it's definitely back. Users have commented on the old report that it's back but it hasn't been reopened. I'm having it happen on v102.7, 2 years later. If there is a newer report for this regression I couldn't find it.
If there is, it would be in this list https://mzl.la/3nCsrZr
Is there ever more than two primary password prompts on the screen?
Yeah I still get this bug. FWIW I don't ever see two 'primary' password requests on the screen at the same time. For me one appears as soon as I double click then another after the main window appears.
I'm using the latest version. Whatever that is. Don't have access to my computer at this instant.
(In reply to Wayne Mery (:wsmwk) from comment #3)
(In reply to sonofevil from comment #0)
This is only really an issue if you have Thunderbird in autostart, because it means you may not immediately want to interact with Thunderbird after it starts.
I do not understand this last sentence. Please elaborate.
Also, is linux the only OS where you see this problem?
I only use Thunderbird on Linux so yeah.
What I meant is that someone who manually opens Thunderbird, rather than have it open automatically after starting their PC, would immediately enter the password in the first prompt, before any other prompt can pop up, so they would not notice the issue. But if you have it in autostart, you may ignore the prompt for a while because you are doing something else.
(In reply to Wayne Mery (:wsmwk) from comment #4)
Is there ever more than two primary password prompts on the screen?
Yes, up to three, probably because I have 3 Email accounts. I just didn't want to wait that long before taking the screenshot.
As a workaround for Linux users, I wrote a simple bash script wrapper for Thunderbird that immediately closes duplicate primary password prompts:
#!/bin/bash
# Closes duplicates of Thunderbird password prompts.
# Requires wmctrl & grep
winTitle='Password Required - Mozilla Thunderbird'
thunderbird &
while true; do
cloneWin=false
wmctrl -l | grep -F "$winTitle" | grep -o -P "(^0x\w*)" | while read -r winID ; do
if $cloneWin; then
wmctrl -ic $winID
else
cloneWin=true
fi
done
done
I hope I'm not breaking any rules posting this, but I checked etiquette and guidelines and it doesn't say anything about promoting third party tools for workarounds. In any case it is all free software.
Sorry, it was originally conceived as a daemon rather than a wrapper, which is why I forgot to make it exit after you close Thunderbird. But this can be avoided by simply changing the beginning of the script to this:
thunderbird & tbPID=$!
while ps -p $tbPID > /dev/null; do
Comment 10•3 years ago
|
||
Hopefully you can try version 115, available in a few weeks.
Comment 11•3 years ago
|
||
Resolved per whiteboard
Description
•