aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc-accounts.5.scd
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-12-20 13:25:35 -0600
committerRobin Jarry <robin@jarry.cc>2023-01-06 23:57:08 +0100
commit2af81a7430481b3aec40f6a794db8cde4e1e18e4 (patch)
tree3d6d298d50f34cf453b2214da94a273f63d061c3 /doc/aerc-accounts.5.scd
parent915b869e3fc6377be114c033763987de612c443c (diff)
downloadaerc-2af81a7430481b3aec40f6a794db8cde4e1e18e4.tar.gz
pgp: add configurable error level for opportunistic encryption
Add a user-configurable error level for when opportunistic encryption is enabled but the message cannot be encrypted. Set the default level to this as "warn". This config option *only* applies when opportunistic encryption is enabled. If a user tries to manually encrypt a message, an error will still be shown. Don't show encryption status until at least one recipient is added. Fixes: https://todo.sr.ht/~rjarry/aerc/95 Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/aerc-accounts.5.scd')
-rw-r--r--doc/aerc-accounts.5.scd9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/aerc-accounts.5.scd b/doc/aerc-accounts.5.scd
index 11d4d52c..a078e4bf 100644
--- a/doc/aerc-accounts.5.scd
+++ b/doc/aerc-accounts.5.scd
@@ -114,6 +114,12 @@ Note that many of these configuration options are written for you, such as
Default: _false_
+*pgp-error-level* = _none_|_warn_|_error_
+ The level of error to display when opportunistic encryption cannot be
+ performed. See *pgp-opportunistic-encryption*.
+
+ Default: _warn_
+
*pgp-key-id* = _<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.
@@ -121,7 +127,8 @@ Note that many of these configuration options are written for you, such as
*pgp-opportunistic-encrypt* = _true_|_false_
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.
+ the keyring. The level of error to display when a message can't be
+ encrypted can be configured with *pgp-error-level*.
Default: _false_