Skip to content

Commit

Permalink
$crypt_protected_headers_write: Change default to 'yes'
Browse files Browse the repository at this point in the history
Link: <neomutt#4236>
Link: <neomutt#4223>
Link: <neomutt#4226>
Reviewed-by: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: Richard Russon <rich@flatcap.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
  • Loading branch information
alejandro-colomar authored and flatcap committed May 8, 2024
1 parent b3c8784 commit 6fc320c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/config.c
Expand Up @@ -873,7 +873,7 @@
** (Crypto only)
*/

{ "crypt_protected_headers_write", DT_BOOL, false },
{ "crypt_protected_headers_write", DT_BOOL, true },
/*
** .pp
** When set, NeoMutt will generate protected headers for signed and encrypted
Expand Down
2 changes: 0 additions & 2 deletions docs/manual.xml.head
Expand Up @@ -13505,8 +13505,6 @@ set pgp_default_key = "1111111111111111111111111111111111111111"
set crypt_autosign = yes
<emphasis role="comment"># Encrypt mail if all recipients have valid public keys</emphasis>
set crypt_opportunistic_encrypt = yes
<emphasis role="comment"># Sign/encrypt protected headers (Subject)</emphasis>
set crypt_protected_headers_write = yes
<emphasis role="comment"># Self encrypt mail</emphasis>
set crypt_self_encrypt = yes

Expand Down
2 changes: 1 addition & 1 deletion ncrypt/config.c
Expand Up @@ -123,7 +123,7 @@ static struct ConfigDef NcryptVars[] = {
{ "crypt_protected_headers_subject", DT_STRING, IP "...", 0, NULL,
"Use this as the subject for encrypted emails"
},
{ "crypt_protected_headers_write", DT_BOOL, false, 0, NULL,
{ "crypt_protected_headers_write", DT_BOOL, true, 0, NULL,
"Generate protected header (Memory Hole) for signed and encrypted emails"
},
{ "crypt_timestamp", DT_BOOL, true, 0, NULL,
Expand Down

0 comments on commit 6fc320c

Please sign in to comment.