From 8db09d2c73e5110064c4862e041021f552609018 Mon Sep 17 00:00:00 2001 From: Victor Freire Date: Tue, 19 Apr 2022 16:14:46 -0300 Subject: config: add unsafe-accounts-conf option This adds the option "unsafe-accounts-conf" under the section [general] of aerc.conf. This allows an user to specify if the accounts.conf file must be restrict to be read by the file owner (0600). By default it is set to "false". Signed-off-by: Victor Freire Acked-by: Robin Jarry --- config/aerc.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config/aerc.conf') diff --git a/config/aerc.conf b/config/aerc.conf index 458f6359..00c6c499 100644 --- a/config/aerc.conf +++ b/config/aerc.conf @@ -1,6 +1,16 @@ # # aerc main configuration +[general] +# +# By default, the file permissions of accounts.conf must be restrictive and +# only allow reading by the file owner (0600). Set this option to true to +# ignore this permission check. Use this with care as it may expose your +# credentials. +# +# Default: false +unsafe-accounts-conf=false + [ui] # # Describes the format for each row in a mailbox view. This field is compatible -- cgit