OpenPGP: Composer key status should list undecided/rejected keys
Categories
(MailNews Core :: Security: OpenPGP, defect, P1)
Tracking
(thunderbird_esr78+ fixed, thunderbird83 fixed)
People
(Reporter: KaiE, Assigned: KaiE)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr78+
|
Details | Review |
This is a regression, first seen in 78.3.3, caused by rewritten code in bug 1665497.
Import a key for a correspondent.
Keep the key in acceptance status "undecided".
Compose an email to that correspondent.
Click the security button to get the security info.
Actual behavior:
The dialog claims "no key available".
Expected behavior, seen with 78.3.2 and earlier:
The dialog should say "no accepted key".
This is particularly confusing after using the security info dialog to discover and import a key (and forgetting to immediately accept it). After import, the dialog still claims "no key available", which gives the false impression that importing failed.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
To fix this function getMultValidKeysForOneRecipient must include keys with acceptance undecided 0 and rejected -1.
Also, function isValidKeyForRecipient should not return early for status 0 and -1, the encryption key availability check should be done in these scenarios, too.
I'm moving one of the checks further up, as it avoid an unnecessary database access in some scenarios.
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/0f7059e35814
OpenPGP: Composer key status should list undecided/rejected keys. r=PatrickBrunschwig DONTBUILD
Assignee | ||
Comment 4•4 years ago
|
||
Comment on attachment 9185714 [details]
Bug 1675285 - OpenPGP: Composer key status should list undecided/rejected keys. r=PatrickBrunschwig
[Approval Request Comment]
Regression caused by (bug #): 1665497
User impact if declined: misleading user interface
Testing completed (on c-c, etc.): manually
Risk to taking this patch (and alternatives if risky): low
Comment 5•4 years ago
|
||
Comment on attachment 9185714 [details]
Bug 1675285 - OpenPGP: Composer key status should list undecided/rejected keys. r=PatrickBrunschwig
[Triage Comment]
Approved for beta
Comment 6•4 years ago
|
||
bugherder uplift |
Thunderbird 83.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/264083e41868
Assignee | ||
Comment 8•4 years ago
|
||
Comment on attachment 9185714 [details]
Bug 1675285 - OpenPGP: Composer key status should list undecided/rejected keys. r=PatrickBrunschwig
[Approval Request Comment]
Regression caused by (bug #): 1665497
User impact if declined: misleading user interface
Testing completed (on c-c, etc.): manually
Risk to taking this patch (and alternatives if risky): low
Comment 9•4 years ago
|
||
Comment on attachment 9185714 [details]
Bug 1675285 - OpenPGP: Composer key status should list undecided/rejected keys. r=PatrickBrunschwig
[Triage Comment]
Approved for esr78
Assignee | ||
Comment 10•4 years ago
|
||
Description
•