[emacs-berlin] Encrypted emails from emacs
jman
emacs-berlin at city17.xyz
Sat May 2 19:46:44 UTC 2026
Hello,
I was looking to refresh my memory about sending PGP encrypted emails from emacs, I use mu4e but I
think it's not very important since GnuPG integration is provided by emacs itself and every email
client uses that.
IIUC the easiest and probably suggested way is using a few high-level functions offered by EasyPG to
encrypt (`M-x epa-mail-decrypt`), decrypt (`M-x epa-mail-decrypt`) and sign (`M-x epa-mail-sign`) a
message as they all seems to assume the buffer to be an email.
https://www.gnu.org/software/emacs/manual/html_mono/epa.html#Mail_002dmode-integration
However, there are also functions available from the `mml-secure.el` package to do the exact same
thing:
`M-x mml-secure-message-encrypt-pgp` and `M-x mml-secure-message-sign-pgp`. A decrypt function seems
to be missing.
So, can I assume that using EasyPG for an email PGP workflow is the suggested option? Why and in
which cases one would prefer using the mml-* functions?
Mind that I want to update the mu4e documentation, so this decision will have cascading effects! :-)
thanks
More information about the emacs-berlin
mailing list