2020-06-11 aerc and encrypted mail

I got some encrypted mail. I tried to open it. aerc crashed.

panic: pgpmail: failed to read PGP message: openpgp: incorrect key

I’m not alone in this. It seems a patch is available, but I did not verify.

Support for encrypted mail was added recently.

Apparently aerc will use a new and separate keyring! The way to do this is to simply export and concatenate all your public and private keys...

gpg --export >> ~/.local/share/aerc/keyring.asc
gpg --export-secret-keys >> ~/.local/share/aerc/keyring.asc

This is weird. I like the expressed goal:

I want PGP support to be plug and play, and to do the right thing with zero configuration.

I wonder how this is going to work in the future. Right now, I think I’d be happy if it didn’t crash and I could just use gpg as my pager when reading encrypted mail and write encrypted mail using Emacs. M-x epa-encrypt-region is what I typically use.



Please make sure you contribute only your own work, or work licensed under the GNU Free Documentation License. Note: in order to facilitate peer review and fight vandalism, we will store your IP number for a number of days. See Privacy Policy for more information. See Info for text formatting rules. You can edit the comment page if you need to fix typos. You can subscribe to new comments by email without leaving a comment.

To save this page you must answer this question:

Just say HELLO