aerc/lib
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
..
format messages: allow displaying email threads 2021-11-13 15:05:59 +01:00
sort go.mod: change base git url 2021-11-05 10:21:45 +01:00
templates go.mod: change base git url 2021-11-05 10:21:45 +01:00
ui style: customize vertical and horizontal border characters 2021-11-30 15:05:33 +01:00
uidstore Create UIDStore package 2019-07-12 11:09:47 -04:00
dirstore.go Move msgstore map to dirstore 2019-07-26 14:15:27 -04:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
keepalive_dummy.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
keepalive_linux.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
keystore.go pgp: PGP/MIME encryption for outgoing emails 2022-01-07 13:45:34 +01:00
messageview.go pgp: update openpgp packages (go-crypto and go-pgpmail) 2022-01-07 13:45:34 +01:00
msgstore.go messages: allow displaying email threads 2021-11-13 15:05:59 +01:00
oauthbearer.go Add `oauthbearer` support for SMTP 2020-08-13 07:44:43 +02:00
open.go Refactor lib/open to accept user provided arguments 2021-01-30 14:04:23 +01:00
socket.go lib: fix an out of bounds panic in the server 2020-02-13 10:26:12 -05:00
structure_helpers.go go.mod: change base git url 2021-11-05 10:21:45 +01:00