aerc/commands
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 imap: add manual {dis,}connect support 2021-11-05 10:45:31 +01:00
compose pgp: PGP/MIME encryption for outgoing emails 2022-01-07 13:45:34 +01:00
msg recall: allow recalling messages from any folder 2021-12-13 14:56:39 +01:00
msgview go.mod: change base git url 2021-11-05 10:21:45 +01:00
terminal go.mod: change base git url 2021-11-05 10:21:45 +01:00
cd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
choose.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
commands.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
ct.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
exec.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
global.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
help.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
move-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
new-account.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pin-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
prompt.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pwd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
quit.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
set.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
term.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
util.go go.mod: change base git url 2021-11-05 10:21:45 +01:00