[emacs-berlin] Encrypted emails from emacs

Tilmann Singer tils at tils.net
Sun May 3 22:50:39 UTC 2026


Hey jman,

There's an important difference between the epa-* and the mml-* set of
functions: epa only deals with mails encrypted in the inline style –
those have "BEGIN PGP MESSAGE ... END PGP MESSAGE" markers in the mail
body itself, whereas mml-* can be configured with different styles.
Inline is discouraged in favour of the mime style, which puts the
encryption metadata in the mail headers, the documentation you linked to
contains a link to a longer explanation why inline is discouraged. The
epa mail functions are useful to decrypt an inline encrypted email, but
when having the choice, I think the generally recommended way to send
gpg encrypted mails is to always use mml-*, with
`mml-default-encrypt-method' set to `pgpmime'.

> A decrypt function seems to be missing.

I don't know why, I can only tell you that something in the notmuch-show
/ emacs stack apparently decrypts incoming encrypted messages.

Feel free to send me an encrypted email directly if you want to try
something out [1].


cheers, Til


[1] GPG public key at: https://tils.net/tils-gpg-pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 853 bytes
Desc: not available
URL: <http://mailb.org/pipermail/emacs-berlin/attachments/20260504/fb80567f/attachment.sig>


More information about the emacs-berlin mailing list