aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-04-07 15:40:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-04-07 15:40:24 -0300
commitff30e88f8b853d78ca0595985ca886a687e264a6 (patch)
tree8f5c39189a659983e0b654a46ecd1092083c6378
parent9e77eea36b4ff4b1e37980003a0978887fcf903d (diff)
downloadmail-ff30e88f8b853d78ca0595985ca886a687e264a6.tar.gz
mail-ff30e88f8b853d78ca0595985ca886a687e264a6.tar.bz2
Updates OpenPGP config
-rw-r--r--muttrc.dot.link8
1 files changed, 6 insertions, 2 deletions
diff --git a/muttrc.dot.link b/muttrc.dot.link
index 9eab149..924a5aa 100644
--- a/muttrc.dot.link
+++ b/muttrc.dot.link
@@ -148,8 +148,9 @@ set sendmail = "/usr/bin/msmtp"
# ---------------------------------------------
macro index S ":toggle pgp_verify_sig\n" # define S to toggle sig check
macro index A ":toggle pgp_autosign\n" # define A to toggle autosign
-set pgp_verify_sig=yes
-set pgp_autosign
+set pgp_verify_sig = yes
+set pgp_autosign = yes
+set pgp_replyencrypt = yes
set pgp_decode_command="gpg --no-verbose --quiet --batch --output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
@@ -161,6 +162,9 @@ set pgp_good_sign="^gpg: Assinatura correta de"
# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=172960
#set pgp_getkeys_command="gpg --recv-keys %r"
+# See https://a3nm.net/blog/mutt_crypt_opportunistic_encrypt.html
+#set crypt_opportunistic_encrypt
+
# -----------------------------
# OpenPGP with gpg-agent config
# -----------------------------