Summary | Automatic S/MIME encryption |
Queue | IMP |
Queue Version | Git master |
Type | Enhancement |
State | Feedback |
Priority | 1. Low |
Owners | |
Requester | azurit (at) pobox (dot) sk |
Created | 10/05/2013 (4239 days ago) |
Due | |
Updated | 06/09/2017 (2896 days ago) |
Assigned | |
Resolved | |
Milestone | |
Patch | Yes |
objects ($recip['list']), empty notifications...
Please test your patch again against a clean checkout of the master branch.
option to the existing encryption options instead of "hiding" it in
the prefs, and 2) cluttering the encryption list even more, especially
if this gets implemented in PGP too.
Let's try it the way you implemented it and wait for user feedback.
Unless someone has further objections?
the encryptselect/default_encrypt preferences?
don't know if enumerating additional "Automatic" variants of
'smime_encrypt' and 'smime_signenc' is a good idea. Additionally, it
only supports S/MIME. The current approach could be adapted to support
PGP and the checkbox moved from S/MIME preferences to the Composition
preferences.
Patch ⇒ Yes
State ⇒ Feedback
the encryptselect/default_encrypt preferences?
New Attachment: 0001-Add-optional-automatic-S-MIME-encryption.patch
requirements. Existing functionality changes only when automatic
S/MIME encryption is enabled in the S/MIME preference group.
If public keys for all recipients are found, the message will
automatically be encrypted before being sent. Otherwise, the user will
be notified of the recipients for which a public key could not be
found. This notification will occur only one time, unless the user
adds additional recipients for which public keys can't be found, in
which case the user will be again notified. The notification is
identical to the one used for detecting missing attachments.
Let me know what you think. This patch is actually pretty simple and
applies cleanly.
can never be true, see the check in 39.
This is a great start, thanks a lot! To be applied we would need at
least one of the two suggested solution for notifying about missing
encryption keys for certain recipients.
enabled before attempting automatic encryption. Line 55 ensures that
if S/MIME signing is enabled it remains enabled in addition to
encryption.
I'm happy to contribute the remainder of the patch but I'm not sure
how to best implement either option for notifying the user. I also
posted on the dev mailing list for tips. Thanks!
can never be true, see the check in 39.
This is a great start, thanks a lot! To be applied we would need at
least one of the two suggested solution for notifying about missing
encryption keys for certain recipients.
New Attachment: 0001-Add-option-for-automatic-S-MIME-encryption.patch
I'm also able to submit a pull request on Github if it helps. I'm
hoping this will help move this enhancement along as we'd love to see
it deployed!
We will soon be releasing a plugin (hook) for IMP that allows users to
automatically retrieve certificates for message recipients using DANE
SMIMEA (https://tools.ietf.org/html/draft-ietf-dane-smime-14).
Enabling automatic/opportunistic S/MIME encryption makes this feature
very useful.
State ⇒ Accepted
Priority ⇒ 1. Low
Version ⇒ Git master
to maybe tie in the public key lookup with the autocompleter, showing
a small lock icon or similar in the recipient bubble when a key is
found? Similar to what iOS does.
Patch ⇒ No
State ⇒ New
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Automatic S/MIME encryption
Type ⇒ Enhancement
Priority ⇒ 2. Medium
1.) Set is as default.
2.) Enable it by hand for every message which needs to be encrypted.
No one of it is perfect:
1.) You need to disable it by hand for every recipient without public
key installed. Otherwise the IMP refuse to send e-mail.
2.) There is a pretty high chance that sooner of later you will simply
forget to enable it and private data will be send and saved in clear
text.
I suggest to create a new type of S/MIME encryption settings:
3.) Encrypt every message automatically when public key of all
recipients is available. Display a warning message (OK/Cancel) if
public key of only part of recipients is available.