aerc/commands/compose
Koni Marti 69d4e3895f pgp: PGP/MIME signing for outgoing emails
implements PGP/MIME signing with go-pgpmail. The Sign() function of
go-pgpmail requires a private (signing) key. The signing key which matches
the senders email address (from field in email header) is looked up
in aerc's copy of the keyring.

Private keys can be exported from gpg into aerc as follows:
$ gpg --export-secret-keys  >> ~/.local/share/aerc/keyring.asc

A message is signed with the ":sign" command. The sign command sets
a bool flag in the Composer struct. Using the command repeatedly will
toggle the flag.

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
..
abort.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
attach.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
cc-bcc.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
compose.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
detach.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
edit.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
header.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-field.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
postpone.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
send.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
sign.go pgp: PGP/MIME signing for outgoing emails 2022-01-07 13:45:34 +01:00