[neomutt-users] How to use cryptographically sign my email messages

Kian Kasad kian at kasad.com
Thu Feb 18 20:12:39 CET 2021

On 21/02/18 06:56PM, TJ Hayes wrote:
> How can I set up crypto keys to use with my emails sent from neomutt?
> I did find https://neomutt.org/test-doc/howto/encryption and I can follow those instructions, but I don't really understand what I am doing. It says that I can "display the private keys via gpg ..." but I thought I didn't want to share my private key with anyone?

That specific command that was listed just displays information about
the keypairs for which GnuPG has the private key. For example, here's
the output of me running it:

	$ gpg --keyid-format 0xlong -K --fingerprint
	sec#  ed25519/0x1715EEAA14DAEC14 2020-07-16 [C] [expires: 2021-07-16]
	      Key fingerprint = 8B70 4344 1EF7 8E0D 023C  20BB 1715 EEAA 14DA EC14
	uid                   [ultimate] Kian Kasad <kian at kasad.com>
	uid                   [ultimate] Kian Kasad <kdkasad at gmail.com>
	ssb   ed25519/0x3B4079444B664E72 2020-07-16 [S] [expires: 2021-07-16]
	ssb   cv25519/0x009EDF5DE2528FAC 2020-07-16 [E] [expires: 2021-07-16]

It is simply to show information about your private key. The reason you
use the private keys option (-K) rather than the public keypairs option
(-k) is because you may have the public keys of many people in your

As for email encryption using GPG, here's a tutorial:
It teaches how to encrypt/decrypt/sign files, but the same concepts of
encryption, signing, keys, etc. also apply to emails.

I've also attached my public key to this email. You can use the
following command to import it into your keyring:

	gpg --import kiankasad.asc

Feel free to send me an email directly (not on this ML) if you want to
practice encrypting/signing emails.

Kian Kasad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1932 bytes
Desc: PGP Key 0x1715EEAA14DAEC14
URL: <https://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20210218/35ee2d63/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20210218/35ee2d63/attachment.sig>

More information about the neomutt-users mailing list