Closed Bug 1717333 Opened 3 years ago Closed 3 years ago

Add UI in Thunderbird 91 for OpenPGP prefs attachPgpKey, protectSubject, autoEncryptDrafts.

Categories

(MailNews Core :: Security: OpenPGP, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
91 Branch

People

(Reporter: KaiE, Assigned: KaiE)

References

Details

Attachments

(1 file)

During the 78.x maintenance cycle, we have added several prefs that allow users to customize the behavior of OpenPGP.

It would be a simple and helpful enhancement to add user interface controls for those preferences.

(1)
bool mail.identity.*.autoEncryptDrafts (default is true)

From Bug 1681168, should saved drafts (stored on IMAP or on local folders) automatically be encrypted (possible if a personal encryption key has been configured for the acocunt). Pref should cover both S/MIME and OpenPGP. Currently, only implemented for OpenPGP.

(2)
string mail.openpgp.alias_rules_file (default is empty)

From bug 1644085, use optional overriding rules for encrypted messages sent by thunderbird. Either a filename (stored in profile directory) or a file:// URL. File must be manually created and edited by the user, following documentation.

(3)
bool mail.identity.*.attachPgpKey (default is true)

From bug 1654950, if the user decides to encrypt or sign a message, will we automatically attach the user's own public key? (The pref is directly coupled to creating a signed message. However, because if the user encrypts, we automatically turn on signing as well, this pref indirectly has effect for sending encrypted messages, too.) It makes sense to always send the own key, but some users don't like it.

(4)
bool mail.identity.*.protectSubject (default is true)

From bug 1628276, the user may want to not encrypt the subject of messages, for example when interacting with ticket systems, or for other reasons. This setting could be offered in both the account prefs, but also as a new UI element in the composer window.

I had already filed separate bug 1675300 for protectSubject, but we could work on all ths prefs in this bug.

See Also: → 1675300
Priority: -- → P1

I have a patch for the three identify related prefs, which I will attach in a minute.

After thinking more about it, I suggest NO user interface for pref mail.openpgp.alias_rules_file at this time - as long as we don't have an editor for the rules. Rather, I suggest we make the feature discoverable. I've filed separate bug 1718802 for that.

Summary: Add UI in Thunderbird 91 for recently added OpenPGP prefs → Add UI in Thunderbird 91 for OpenPGP prefs attachPgpKey, protectSubject, autoEncryptDrafts.
Assignee: nobody → kaie
Status: NEW → ASSIGNED

Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/5c823c61dd17
Add UI for OpenPGP prefs attachPgpKey, protectSubject, autoEncryptDrafts. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Blocks: 1719263
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: