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.

not alone

a patch is available

Support for encrypted mail was added recently.

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.

​#aerc ​#Mail ​#Cryptography