summaryrefslogtreecommitdiff
path: root/.muttrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-05-20 17:21:24 +0900
committerSean Whitton <spwhitton@spwhitton.name>2016-05-20 17:21:24 +0900
commit3d13afc58ed226e10f95c99fc344eb8473e84063 (patch)
tree0c36c4e68adfc6c36ba504fbad8b18114a41362b /.muttrc
parent7ad8304f9ac3372b05b3d45437ab48731d3aa3fe (diff)
downloaddotfiles-3d13afc58ed226e10f95c99fc344eb8473e84063.tar.gz
update mutt pgp cmds for mutt package 1.6.0-1
Debian's /etc/Muttrc.d/gpg.rc now sets $pgp_decryption_okay. Mutt will consider decryption to have failed unless it sees the machine-readable output that the --status-fd=2 flag causes mutt to produce. See the description of $pgp_decryption_okay in the mutt docs.
Diffstat (limited to '.muttrc')
-rw-r--r--.muttrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.muttrc b/.muttrc
index 0e4d8982..ae387403 100644
--- a/.muttrc
+++ b/.muttrc
@@ -97,9 +97,9 @@ set fcc_clear = no
set pgp_use_gpg_agent = yes
#set pgp_strict_enc # maybe needed?
-set pgp_decode_command="gpg --use-agent --no-verbose --quiet --batch --output - %f"
-set pgp_verify_command="gpg --use-agent --no-verbose --quiet --batch --output - --verify %s %f"
-set pgp_decrypt_command="gpg --use-agent --no-verbose --quiet --batch --output - %f"
+set pgp_decode_command="gpg --status-fd=2 --use-agent --no-verbose --quiet --batch --output - %f"
+set pgp_verify_command="gpg --status-fd=2 --use-agent --no-verbose --quiet --batch --output - --verify %s %f"
+set pgp_decrypt_command="gpg --status-fd=2 --use-agent --no-verbose --quiet --batch --output - %f"
set pgp_sign_command="gpg --use-agent --no-verbose --batch --quiet --output - --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --use-agent --no-verbose --batch --quiet --output - --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --use-agent --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x0F56D0553B6D411B -- -r %r -- %f"