Closed Bug 2051597 Opened 2 months ago Closed 2 months ago

Bug 2046258 incomplete for Thunderbird

Categories

(Core :: Security: PSM, defect)

defect

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox152 --- unaffected
firefox153 --- unaffected
firefox154 --- fixed

People

(Reporter: john, Assigned: john)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

In order for Thunderbird to adjust to Bug 2046258, there needs to be an additional fix in m-c.

Bug 2046258 made nsIPKCS11Token.login() asynchronous and updated the
Firefox callers, but missed the caller in the #ifdef MOZ_THUNDERBIRD
block of nsXREDirProvider::DoStartup().

That caller must finish prompting before any windows open (to avoid the
multiple-prompt race, bug 177175), so it cannot simply fire-and-forget
the Promise. Drive the Promise returned by Login() and spin the event
loop until it settles; PK11_Authenticate runs off the main thread, so
the loop stays responsive.

Assignee: nobody → john
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 2046258

Attachment #9602995 - Attachment description: Bug 2051597 - Port the MOZ_THUNDERBIRD master-password prompt in nsXREDirProvider to the async nsIPKCS11Token.login(). r=#thunderbird-reviewers,keeler → Bug 2051597 - Adapt the MOZ_THUNDERBIRD master-password prompt in nsXREDirProvider for the async nsIPKCS11Token.login(). r=#thunderbird-reviewers,keeler
Pushed by john@thunderbird.net: https://github.com/mozilla-firefox/firefox/commit/0dcc26d2a771 https://hg.mozilla.org/integration/autoland/rev/703f4bec304e Adapt the MOZ_THUNDERBIRD master-password prompt in nsXREDirProvider for the async nsIPKCS11Token.login(). r=keeler,thunderbird-reviewers,edicharry
Pushed by nfay@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/42a764fc9d59 https://hg.mozilla.org/mozilla-central/rev/09345f992eb9 Adapt the MOZ_THUNDERBIRD master-password prompt in nsXREDirProvider for the async nsIPKCS11Token.login(). r=keeler,thunderbird-reviewers,edicharry
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
QA Whiteboard: [qa-triage-done-c155/b154]
Regressions: 2065007
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: