aerc/widgets
Koni Marti b19b844a63 pgp: PGP/MIME encryption for outgoing emails
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>
2022-01-07 13:45:34 +01:00
..
account-wizard.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
account.go messages: allow displaying email threads 2021-11-13 15:05:59 +01:00
aerc.go pgp: update openpgp packages (go-crypto and go-pgpmail) 2022-01-07 13:45:34 +01:00
common.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
compose.go pgp: PGP/MIME encryption for outgoing emails 2022-01-07 13:45:34 +01:00
dirlist.go notmuch: allow sort by file order 2021-11-13 15:25:04 +01:00
exline.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
getpasswd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
headerlayout.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
msglist.go messages: allow displaying email threads 2021-11-13 15:05:59 +01:00
msgviewer.go style: customize vertical and horizontal border characters 2021-11-30 15:05:33 +01:00
pgpinfo.go pgp: update openpgp packages (go-crypto and go-pgpmail) 2022-01-07 13:45:34 +01:00
providesmessage.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
selector.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
spinner.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
status.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
tabhost.go Implement style configuration. 2020-08-06 21:42:06 +02:00
terminal.go go.mod: change base git url 2021-11-05 10:21:45 +01:00