summaryrefslogtreecommitdiff
path: root/.config/mutt/pgp
diff options
context:
space:
mode:
Diffstat (limited to '.config/mutt/pgp')
-rwxr-xr-x.config/mutt/pgp24
1 files changed, 24 insertions, 0 deletions
diff --git a/.config/mutt/pgp b/.config/mutt/pgp
new file mode 100755
index 0000000..aec06f7
--- /dev/null
+++ b/.config/mutt/pgp
@@ -0,0 +1,24 @@
+# from Justin R. Miller's
+# `Everything You Need To Know To Start Using GnuPG with Mutt'
+# http://codesorcery.net/old/mutt/mutt-gnupg-howto
+
+set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
+set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
+set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
+set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
+set pgp_clearsign_command="gpg --no-verbose --batch --output - --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 --encrypt-to 0xFC29BDCDF15F5BE8 -- -r %r -- %f"
+set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xFC29BDCDF15F5BE8 -- -r %r -- %f"
+set pgp_import_command="gpg --no-verbose --import -v %f"
+set pgp_export_command="gpg --no-verbose --export --armor %r"
+set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
+set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
+set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
+#set pgp_autosign=yes
+#set pgp_sign_as=PGP_KEY_ID
+set pgp_replyencrypt=yes
+set pgp_timeout=1800
+set pgp_good_sign="^gpg: Good signature from"
+
+set pgp_use_gpg_agent = yes
+# vim: set ft=muttrc