pgp: add options auto-sign & opportunistic-encrypt

Add account level config options for auto-sign and opportunistic
encryption.

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Tested-by: Koni Marti <koni.marti@gmail.com>
This commit is contained in:
Tim Culverhouse 2022-05-05 12:53:14 -05:00 committed by Robin Jarry
parent 5c5158b3c1
commit bb400c7d88
3 changed files with 29 additions and 1 deletions

View file

@ -588,10 +588,23 @@ Note that many of these configuration options are written for you, such as
Default: none
*pgp-auto-sign*
If true, all outgoing emails from this account will be signed (if a signing
key is available)
Default: false
*pgp-key-id*
Specify the key id to use when signing a message. Can be either short or
long key id. If unset, aerc will look up the key by email
*pgp-opportunistic-encrypt*
If true, any outgoing email from this account will be encrypted when all
recipients (including "cc" and "bcc" field) have a public key available in
the keyring
Default: false
*postpone*
Specifies the folder to save postponed messages to.