diff options
author | Bartkk <bartkk@bartkk.xyz> | 2024-04-03 08:35:49 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-04-03 11:16:53 +0200 |
commit | 4cbd116f034813216955540567f333f237de1bbe (patch) | |
tree | 1953750557b8438b86e622acb6f047f734fd260a /config | |
parent | 28fde6118fca2b1f93457d493572a4401e8448ac (diff) | |
download | aerc-4cbd116f034813216955540567f333f237de1bbe.tar.gz |
gpg: add pgp-self-encrypt option
Add an option to encrypt outgoing messages to the sender or the key
specified in pgp-key-id.
Implements: https://todo.sr.ht/~rjarry/aerc/237
Changelog-added: New `pgp-self-encrypt` option in `accounts.conf`.
Signed-off-by: Bartkk <bartkk@bartkk.xyz>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r-- | config/accounts.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/accounts.go b/config/accounts.go index b5bfbe9a..6e0d6268 100644 --- a/config/accounts.go +++ b/config/accounts.go @@ -107,6 +107,7 @@ type AccountConfig struct { PgpAttachKey bool `ini:"pgp-attach-key"` PgpOpportunisticEncrypt bool `ini:"pgp-opportunistic-encrypt"` PgpErrorLevel int `ini:"pgp-error-level" parse:"ParsePgpErrorLevel" default:"warn"` + PgpSelfEncrypt bool `ini:"pgp-self-encrypt"` // AuthRes TrustedAuthRes []string `ini:"trusted-authres" delim:","` |