aboutsummaryrefslogtreecommitdiff
path: root/.mutt
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-01-12 14:23:34 -0500
committerRyan Kavanagh <rak@debian.org>2012-01-12 14:23:34 -0500
commit86d99ae7e99b0f93ae4e2d96d12d332f2216ed3f (patch)
tree321d61c84fbc4e080c42249870b34c0fb1cb494f /.mutt
parentGive precedence to text/plain over text/html when reading mail (diff)
Split out gpg part for mutt
Diffstat (limited to '.mutt')
-rw-r--r--.mutt/gpg.rc18
1 files changed, 18 insertions, 0 deletions
diff --git a/.mutt/gpg.rc b/.mutt/gpg.rc
new file mode 100644
index 0000000..1d5eb32
--- /dev/null
+++ b/.mutt/gpg.rc
@@ -0,0 +1,18 @@
+set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f"
+set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f"
+set pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f"
+set pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f"
+set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f"
+set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
+set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
+set pgp_import_command="gpg --no-verbose --import %f"
+set pgp_export_command="gpg --no-verbose --export --armor %r"
+set pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r"
+set pgp_list_pubring_command="gpg --no-verbose --batch --quiet --with-colons --list-keys %r"
+set pgp_list_secring_command="gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r"
+set pgp_autosign=yes
+set pgp_sign_as=0x4A11C97A
+set pgp_replyencrypt=yes
+set pgp_timeout=1800
+set pgp_good_sign="^gpg: Good signature from"
+set pgp_use_gpg_agent = yes