diff options
author | Ryan Kavanagh <rak@debian.org> | 2012-10-01 10:51:43 +0100 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2012-10-01 10:51:43 +0100 |
commit | 58741eee068a848061e4438cac2bc1cd3bfbf891 (patch) | |
tree | e12adbb58c69038dc3dcc6e76f69f7d75d308642 | |
parent | Programmatically decide on the version of mycmp to use based on offlineimap._... (diff) |
Substitute in gpg binary name in mutt config
-rw-r--r-- | .mutt/gpg.rc | 26 | ||||
-rwxr-xr-x | Makefile | 2 |
2 files changed, 15 insertions, 13 deletions
diff --git a/.mutt/gpg.rc b/.mutt/gpg.rc index d79487d..e6f728e 100644 --- a/.mutt/gpg.rc +++ b/.mutt/gpg.rc @@ -1,19 +1,19 @@ -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_decode_command="GPG_BINARY --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" +set pgp_verify_command="GPG_BINARY --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f" +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_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" +set pgp_list_pubring_command="GPG_BINARY --no-verbose --batch --quiet --with-colons --list-keys %r" +set pgp_list_secring_command="GPG_BINARY --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_good_sign="^GPG_BINARY: Good signature from" set pgp_use_gpg_agent = yes set pgp_auto_decode = no @@ -9,6 +9,7 @@ LOCAL_FILES = \ .imapfilter/config.lua \ .msmtprc \ .mutt/accounts.rc \ + .mutt/gpg.rc \ .mutt/score.rc \ .muttrc \ .netrc \ @@ -84,6 +85,7 @@ VARS_.gitconfig = MSMTP_PATH VARS_.imapfilter/config.lua = LOCAL_PASS PM_EMAIL IMAPFILTER_GMAIL_SERVER GMAIL_PASS VARS_.msmtprc = GMAIL_PASS QUEENSU_PASS LOCALHOST MCGSOCS_PASS MCGILL_PASS SSL_CERTS VARS_.mutt/accounts.rc = LOCAL_PASS GMAIL_PASS QUEENSU_PASS MSMTP_PATH MCGILL_PASS +VARS_.mutt/gpg.rc = GPG_BINARY VARS_.mutt/score.rc = MUTT_10_SCORE MUTT_20_SCORE VARS_.muttrc = MSMTP_PATH VARS_.netrc = LOCAL_PASS GMAIL_PASS |