Open Bug 1346268 Opened 7 years ago Updated 2 years ago

Master password prompt twice (or three times) with mail.password_protect_local_cache is true

Categories

(Thunderbird :: Security, defect)

45 Branch
defect

Tracking

(Not tracked)

People

(Reporter: spommere, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce:

set mail.password_protect_local_cache = true in Config Editor and restart TB 45.8.0.


Actual results:

Being prompted twice for my master password.


Expected results:

Being prompted once for master password.

I've found several old bugs with the same problem (e.g. 548224) but they're all marked Fixed / Closed.
I hadn't heard of this preference before. References:
Bug 340523
http://forums.mozillazine.org/viewtopic.php?f=39&t=293870
Component: Mail Window Front End → Security
Have this too since 45.8.0 at a stable hardened Gentoo Linux
I went back to TB 38.8.0, and the same problem exists there too.
I realized, that adding a GMail account forces Thunderbird-45.8.0 to show 2 popup windows and asked for the master password. The first I just "canceled" and typed in the pw into the second.
Depends on: 1176399
After upgrading to TB60.3 from TB52, I noticed the same issue with mail.password_protect_local_cache set to true.
Stefan, do you still see this in version 60?
Flags: needinfo?(spommere)
Version 60.4.0 (32-bit).
Yes I do.
There's one prompt for the master password per email account that I configured; in my case, I get prompted twice. Both email accounts are Gmail. With mail.password_protect_local_cache = false, there's only one prompt for the master password.
Flags: needinfo?(spommere)

Does this still reproduce for you, with preference set to true?

Flags: needinfo?(toralf.foerster)
Flags: needinfo?(spommere)

I'm running 78.11.0 (32-bit) now, and I have one email account configured.

With mail.password_protect_local_cache = false, I get prompted once.
With mail.password_protect_local_cache = true, I get prompted not twice but thrice now.

Flags: needinfo?(spommere)

On Mac I also get prompted three times

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(toralf.foerster)
Summary: Master password prompt twice with mail.password_protect_local_cache is true → Master password prompt twice (or three times) with mail.password_protect_local_cache is true

(In reply to Wayne Mery (:wsmwk) from comment #10)

On Mac I also get prompted three times

Very same for me since upgrade to version 102

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.