unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre Langlois <pierre.langlois@gmx.com>
To: Amin Bandali <bandali@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Signing emails with mu4e (was Re: Hello, new committer here!)
Date: Wed, 02 Sep 2020 11:15:28 +0100	[thread overview]
Message-ID: <87ft80xzc2.fsf@gmx.com> (raw)
In-Reply-To: <87tuwhyue7.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]


Amin Bandali writes:

> Pierre Neidhardt writes:
>
>> This is what I do to sign all my messages:
>>
>> (add-hook 'message-setup-hook 'mml-secure-sign-pgpmime)
>>
> [...]
>
> A word of caution: at least with Gnus, doing something like this might
> "downgrade" the security of a message, by changing it to only sign the
> message you're composing when normally it would have been both signed
> and encrypted.  It typically happens when replying to an encrypted
> message.
>
> For that reason, I set the message to be signed only when it's not being
> signed+encrypted:
>
>     (add-hook 'gnus-message-setup-hook
>               (lambda ()
>                 (unless (mml-secure-is-encrypted-p)
>                   (mml-secure-message-sign))))
>
> For non-Gnus users, I'd imagine replacing `gnus-message-setup-hook' with
> `message-setup-hook' would work.

That looks pretty useful, thanks for the tips! For some reasons I still
have to set `mml-secure-openpgp-signers' for emacs to find the key when
I press send (C-c C-c). I'm not sure what's going on, oh well, it works
anyway :-).

Thanks,
Pierre

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2020-09-02 10:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-01 10:52 Hello, new committer here! Pierre Langlois
2020-09-01 12:11 ` Signing emails with mu4e (was Re: Hello, new committer here!) Pierre Langlois
2020-09-01 12:29   ` Pierre Langlois
2020-09-01 13:06     ` Efraim Flashner
2020-09-01 13:35     ` Pierre Neidhardt
2020-09-01 23:00       ` Amin Bandali
2020-09-02 10:15         ` Pierre Langlois [this message]
2020-09-04 17:16     ` Signing emails with Emacs 27.1 Giovanni Biscuolo
2020-09-04 17:47       ` Pierre Langlois
2020-09-07  9:19 ` Hello, new committer here! Ludovic Courtès

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ft80xzc2.fsf@gmx.com \
    --to=pierre.langlois@gmx.com \
    --cc=bandali@gnu.org \
    --cc=guix-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).