From abf6ec7f02edbf8721fb32e4e760ebda2c20bc50 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Thu, 8 Sep 2022 20:18:31 +0200 Subject: config: keep cache of resolved credential commands outgoing-cred-cmd is used to retrieve the password from a password manager such as UNIX pass or bitwarden CLI. These tools often prompt for a passphrase to secure the passwords and it is annoying having to enter it every time sending an email with aerc. Add a new option outgoing-cred-cmd-cache (default to true) to control whether aerc will keep a cache of the password or run outgoing-cred-cmd every time an email needs to be sent. NB: If the cached password is incorrect, the only way to change it is to restart aerc. Fixes: ca9034385029 ("outgoing-cred-cmd: delay execution until an email needs to be sent") Signed-off-by: Robin Jarry Acked-by: Moritz Poldrack --- doc/aerc-config.5.scd | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index a87cbccd..b9ed0df0 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -657,6 +657,13 @@ Note that many of these configuration options are written for you, such as Default: none +*outgoing-cred-cmd-cache* + By default, the credentials returned by the command will be cached until + aerc is shut down. If set to false, *outgoing-cred-cmd* will be executed + every time an email is to be sent. + + Default: true + *pgp-auto-sign* If true, all outgoing emails from this account will be signed (if a signing key is available) -- cgit