From f705616ed479f7d560bae6038fd88b3450d86b8b Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Tue, 16 Jul 2024 16:56:33 +0200 Subject: [PATCH] feat: encrypt mail headers --- files/mutt/.config/mutt/05_pgp.muttrc | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/files/mutt/.config/mutt/05_pgp.muttrc b/files/mutt/.config/mutt/05_pgp.muttrc index 71e4b8f..6f00dfd 100644 --- a/files/mutt/.config/mutt/05_pgp.muttrc +++ b/files/mutt/.config/mutt/05_pgp.muttrc @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2020 Wojtek Porczyk # SPDX-FileCopyrightText: 2020 Miguel Jacq -# SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. +# SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. # # SPDX-License-Identifier: GPL-3.0-or-later @@ -13,13 +13,16 @@ send-hook "~t @invisiblethingslab\\.com" "set pgp_autoinline=no crypt_autoencryp send-hook "~t @googlegroups\\.com" "set pgp_autoinline=yes crypt_autoencrypt=no" ## General Encryption and Signature -set crypt_autopgp = yes # Use PGP for encryption -set crypt_autoencrypt = no # Encryption is user preference -set crypt_autosign = yes # Sign all messages -set crypt_replyencrypt = yes # Encrypt replies to encrypted messages -set crypt_replysignencrypted = yes # Sign replies to encrypted messages -set crypt_verify_sig = yes # Verify the opened message signature -set crypt_use_gpgme = no # GPGME interferes with split-gpg +set crypt_autopgp = yes # Use PGP for encryption +set crypt_autoencrypt = no # Encryption is user preference +set crypt_autosign = yes # Sign all messages +set crypt_replyencrypt = yes # Encrypt replies to encrypted messages +set crypt_replysignencrypted = yes # Sign replies to encrypted messages +set crypt_verify_sig = yes # Verify the opened message signature +set crypt_use_gpgme = no # GPGME interferes with split-gpg +set crypt_protected_headers_read = yes # Display encrypted headers +set crypt_protected_headers_write = yes # Encrypt headers when composing +set crypt_protected_headers_save = no # Save headers in plain text to disk ## PGP set pgp_autoinline = no # Inline is user preference