From: Gregor Zattler <telegraph@gmx.net>
To: Damien Cassou <damien@cassou.me>,
emacs-devel@gnu.org, Nicolas Petton <nicolas@petton.fr>
Subject: Re: [Emacs-diffs] master 29006a6: Detect if a message can be encrypted and add an MML tag
Date: Wed, 11 Apr 2018 19:57:30 +0200 [thread overview]
Message-ID: <87tvshpqwl.fsf@len.workgroup> (raw)
In-Reply-To: <87a7uax90y.fsf@cassou.me>
Hi Damien,
* Damien Cassou <damien@cassou.me> [2018-04-11; 13:44]:
> Gregor Zattler <telegraph@gmx.net> writes:
>> run-hooks: Symbol’s function definition is void:
>> message-add-encrypt-tag-if-can-encrypt when sending a email.
>
>
> right. I will send a patch fixing the NEWS entry. Thanks for the report.
>
>
>> 1) It adds the MML tags even if the recipients key is disabled.
> I don't know what "the recipients key is disabled" means.
A user may have a recipients public key in GnuPGs public key ring
but disable it. The key is the labled as disabled in key
listings and gpg does not use it for encryption.
This feature comes in handy if a recipient of yours forgot
his/her passphrase to the private part of the key pair or lost
the private key. In this case you may disable the public key in your
keyring. Then this public key is not used in the future for
encryption but you are still able to verify signatures made with
the corresponding private key in the past.
Therefore disabled keys should not be considered with respect to
the question if there are public keys for all recipients of a
given message.
>> 2) More complicated: The UI does not provide a means to
>> temporarily not use encryption (when e.g. you know your
>> correspondent is on vacation and reads email on a smartphone
>> without decryption facilities). The only way to send an
>> unencrypted email to a recipient for whom I have the
>> corresponding pub key, is to delete
>> message-sign-encrypt-if-all-keys-available from message-send-hook
>> before sending.
>
>
> I agree. We could add a boolean buffer-local variable that the user
> could toggle with something like `M-x
> message-toggle-sign-encrypt-if-all-keys-available`. This would only
> affect the current buffer. What do you think?
Yes, or slightly easier for the user to handle: a
command which removes the MML tags and sets this buffer local
variable or even then sends the message again.
Thanks for considering this.
Have a nice day, Gregor
next prev parent reply other threads:[~2018-04-11 17:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180404183303.27542.7640@vcs0.savannah.gnu.org>
[not found] ` <20180404183305.17AB4202C3@vcs0.savannah.gnu.org>
2018-04-11 11:32 ` [Emacs-diffs] master 29006a6: Detect if a message can be encrypted and add an MML tag Gregor Zattler
2018-04-11 11:44 ` Damien Cassou
2018-04-11 13:07 ` Herring, Davis
2018-04-11 17:57 ` Gregor Zattler [this message]
[not found] <mailman.37408.1523451062.27992.emacs-devel@gnu.org>
2018-04-11 18:00 ` Jens Lechtenboerger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tvshpqwl.fsf@len.workgroup \
--to=telegraph@gmx.net \
--cc=damien@cassou.me \
--cc=emacs-devel@gnu.org \
--cc=nicolas@petton.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.