Explain in key properties what the (!) indicator means (advanced OpenPGP key configurations)
Categories
(MailNews Core :: Security: OpenPGP, enhancement)
Tracking
(thunderbird_esr91 wontfix)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr91 | --- | wontfix |
People
(Reporter: KaiE, Assigned: KaiE)
References
Details
Attachments
(3 files)
Originally in bug 1654893, and adjusted in bug 1753214, we added a special indicator for the OpenPGP key properties dialog.
An OpenPGP key is a flexible mix of multiple individual keys. Usually just 2 (one for signing, another one for encryption), but any number is possible.
Advanced users, who have created their secret/personal key outside of Thunderbird with different tools, may import a special combination key into Thunderbird, which only has the secret available for some of those keys.
To help advanced users, we had introduced a small visual indicator, to remind the user which secret keys are absent.
The indicator is (!) shown in front of the key type.
Because we had wanted this indicator on the stable branch, we didn't add a descriptive text at that time, and then it was forgotten.
An example screenshot is here: attachment 9264374 [details]
My simple suggestion is:
If at least one key has the (!), then show the following text underneath the table:
"For keys marked with (!) the secret key is not available."
(The text would not be shown if no keys need the (!) indicator.)
| Assignee | ||
Comment 1•3 years ago
|
||
Alessandro, do you think this approach is sufficient?
Comment 2•3 years ago
|
||
I think it might be fine as a temporary solution.
We will redesign this key properties dialog in the next cycle, so I think a quick fix to add a description is acceptable even if not optimal.
Thumbs up!
Please, use the tip-caption class on that element so it's styled like an helper description.
| Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
| Assignee | ||
Comment 4•3 years ago
|
||
| Assignee | ||
Comment 5•3 years ago
|
||
| Assignee | ||
Comment 6•3 years ago
|
||
I've manually tested that the code behaves as intended.
If you'd like to test yourself, use openpgp key manager and:
- import secret key file two-sign-subkeys-second-sub-deleted-sec.asc (password: x)
- import public key file two-sign-all-pub.asc
- double-click key named two-sign-subkeys and open structure tab
You should see the new label.
Open any other regular key, and the label should be hidden.
| Assignee | ||
Updated•3 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/7990d35558f2
Add a legend for the secret key missing indicator. r=aleca
Updated•3 years ago
|
Updated•3 years ago
|
Description
•