From 75e7634a56f183283e4de47441c6f9c719c3fc8e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 30 May 2013 16:04:43 +1200 Subject: Use gpgme instead of the PGP command definitions Which is about fifty million times easier --- mutt/muttrc | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/mutt/muttrc b/mutt/muttrc index 8b36082f..4492b66a 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -100,24 +100,9 @@ set sig_on_top = yes # Encryption settings set crypt_replysign = yes set crypt_replysignencrypted = yes +set crypt_use_gpgme = yes set crypt_verify_sig = yes -# PGP/GPG -set pgp_use_gpg_agent = yes -set pgp_clearsign_command = 'gpg --no-verbose --batch --output - --armor --textmode --clearsign %?a?-u %a? %f' -set pgp_decode_command = 'gpg %p --no-verbose --batch --output - %f' -set pgp_decrypt_command = 'gpg --no-verbose --batch --output - %f' -set pgp_encrypt_only_command = '/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x77BB8872 -- -r %r -- %f' -set pgp_encrypt_sign_command = '/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x77BB8872 -- -r %r -- %f' -set pgp_export_command = 'gpg --no-verbose --export --armor %r' -set pgp_good_sign = '^gpg: Good signature from' -set pgp_import_command = 'gpg --no-verbose --import -v %f' -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_sign_command = 'gpg --no-verbose --batch --output - --armor --detach-sign --textmode %?a?-u % a? %f' -set pgp_verify_command = 'gpg --no-verbose --batch --output - --verify %s %f' -set pgp_verify_key_command = 'gpg --no-verbose --batch --fingerprint --check-sigs %r' - # Vim-ish bindings bind index gg first-entry bind index G last-entry -- cgit v1.2.3