Closed Bug 1701908 Opened 3 years ago Closed 3 years ago

Partial OpenPGP encryption reminder might be shown for an unrelated message

Categories

(MailNews Core :: Security: OpenPGP, defect)

defect

Tracking

(thunderbird_esr78+ fixed, thunderbird89+ fixed)

RESOLVED FIXED
90 Branch
Tracking Status
thunderbird_esr78 + fixed
thunderbird89 + fixed

People

(Reporter: KaiE, Assigned: KaiE)

References

(Regression)

Details

Attachments

(1 file, 1 obsolete file)

Bug 1672851 introduced variable showPartialDecryptionReminder in enigmailMessengerOverlay.js.

In certain situations, this may cause an OpenPGP reminder notification to be shown for an unrelated messages.

The fix is to clear the variable in messageCleanup().

Status: NEW → ASSIGNED
Attached patch 1701908-v1.patchSplinter Review
Attachment #9212579 - Flags: review?(alessandro)
Attachment #9212460 - Attachment is obsolete: true
Comment on attachment 9212579 [details] [diff] [review]
1701908-v1.patch

Review of attachment 9212579 [details] [diff] [review]:
-----------------------------------------------------------------

Seems reasonable. r+
Attachment #9212579 - Flags: review?(alessandro) → review+

Should this land?

I'd prefer to land bug 1701908, bug 1701924, bug 1702582 and bug 1673241 in a single commit, they are all closely related, to avoid new complaints about new incorrect scenarios.

Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/fb58f853384a
Avoid showing partial encryption reminder for an unrelated message. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

Comment on attachment 9212579 [details] [diff] [review]
1701908-v1.patch

[Approval Request Comment]
Regression caused by (bug #): 1672851
User impact if declined: a helpful reminder not shown
Testing completed (on c-c, etc.): yes
Risk to taking this patch (and alternatives if risky): low

Attachment #9212579 - Flags: approval-comm-beta?

Comment on attachment 9212579 [details] [diff] [review]
1701908-v1.patch

[deleted, was empty]

Attachment #9212579 - Flags: approval-comm-esr78?

See above beta approval request for details.

Requesting esr78 approval, however, should wait for at least 2 weeks beta testing.

Comment on attachment 9212579 [details] [diff] [review]
1701908-v1.patch

[Triage Comment]
Approved for beta

Attachment #9212579 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9212579 [details] [diff] [review]
1701908-v1.patch

[Triage Comment]
Approved for esr78

Attachment #9212579 - Flags: approval-comm-esr78? → approval-comm-esr78+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: