aboutsummaryrefslogtreecommitdiff
path: root/.mutt/gpg.rc
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-10-01 10:53:41 +0100
committerRyan Kavanagh <rak@debian.org>2012-10-01 10:53:41 +0100
commitd8f3edd476b470d9416f91ee08ad1b5e05988c3f (patch)
treef2827bb00239b4b05ac3e8d6cf775da762022845 /.mutt/gpg.rc
parentSubstitute in gpg binary name in mutt config (diff)
Also substitute in path to pgpewrap for mutt
Diffstat (limited to '')
-rw-r--r--.mutt/gpg.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.mutt/gpg.rc b/.mutt/gpg.rc
index e6f728e..54254a0 100644
--- a/.mutt/gpg.rc
+++ b/.mutt/gpg.rc
@@ -3,8 +3,8 @@ set pgp_verify_command="GPG_BINARY --status-fd=2 --no-verbose --quiet --batch --
set pgp_decrypt_command="GPG_BINARY --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f"
set pgp_sign_command="GPG_BINARY --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="GPG_BINARY --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_BINARY --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
-set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap GPG_BINARY %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
+set pgp_encrypt_only_command="PGPEWRAP_BINARY GPG_BINARY --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
+set pgp_encrypt_sign_command="PGPEWRAP_BINARY GPG_BINARY %?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_BINARY --no-verbose --import %f"
set pgp_export_command="GPG_BINARY --no-verbose --export --armor %r"
set pgp_verify_key_command="GPG_BINARY --verbose --batch --fingerprint --check-sigs %r"