b19b844a63
implements PGP/MIME encryption with go-pgpmail. The Encrypt() function of go-pgpmail requires a list of public keys which are taken from the keystore. The keystore is searched for the email addresses of all recipients (to, cc, and bcc). If you want to be able to read the encrypted email afterwards, add yourself as a recipient in either to, cc, or bcc as well. Public keys can be exported from gpg into aerc as follows: $ gpg --export >> ~/.local/share/aerc/keyring.asc When composing a message, the encryption is enabled with the ":encrypt" command. This sets a bool flag in the Composer struct. A reapted application of this command will toggle the flag. The encrypted message can also be signed by using the ":sign" command before or after ":encrypt". References: https://todo.sr.ht/~rjarry/aerc/6 Signed-off-by: Koni Marti <koni.marti@gmail.com> |
||
---|---|---|
.. | ||
format | ||
sort | ||
templates | ||
ui | ||
uidstore | ||
dirstore.go | ||
history.go | ||
keepalive_dummy.go | ||
keepalive_linux.go | ||
keystore.go | ||
messageview.go | ||
msgstore.go | ||
oauthbearer.go | ||
open.go | ||
socket.go | ||
structure_helpers.go |