OpenPGP e2ee interactive configuration not as expected, if external key is the only key
Categories
(MailNews Core :: Security: OpenPGP, defect, P1)
Tracking
(thunderbird_esr78 fixed, thunderbird78 wontfix, thunderbird79 affected, thunderbird80 fixed)
People
(Reporter: KaiE, Assigned: aleca)
References
Details
(Keywords: ux-consistency)
Attachments
(1 file, 1 obsolete file)
|
2.75 KB,
patch
|
aleca
:
review+
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
Start with fresh settings.
Set mail.openpgp.allow_external_gnupg to true.
Go to account settings.
Add key, enter an external key ID, save key id.
Actual result:
It says "... doesn't have a personal key"
green checkmark
"... current configuration uses (entered key id)"
No selection list is shown. No "None" entry. No entry for the external key.
Expected result:
Thunderbird shouldn't say "doesn't have personal key"
A "None" entry should be shown.
A list entry should be shown for the external key.
| Reporter | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
This should take care of the problem.
| Assignee | ||
Updated•6 years ago
|
| Reporter | ||
Comment 2•6 years ago
|
||
| Reporter | ||
Comment 3•6 years ago
|
||
Of even this:
let externalKeyCount = gIdentity.getUnicharAttribute(
"last_entered_external_gnupg_key_id"
) ? 1 : 0;
let allKeys = result.all.length + externalKeyCount;
| Assignee | ||
Comment 4•6 years ago
|
||
Thanks, patch updated.
| Assignee | ||
Comment 5•6 years ago
|
||
let allKeys = result.all.length + (externalKey ? 1 : 0);
I prefer this, I think it's more readable and we avoid defining an extra variable.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 6•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
| Reporter | ||
Comment 8•6 years ago
|
||
| Reporter | ||
Comment 9•6 years ago
|
||
suggesting 79 wontfix
| Reporter | ||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/aa19cd9cecf4
Fix e2e encryption configuration in Account Settings if only using an external key. r=KaiE
Description
•