# muttrc file for gpg support # Copyright (C) 2007-2012 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This file is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this file. If not, see . # settings for gpg to decrypt/encrypt/verify: 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 %a -- -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 %a -- -r %r -- %f" set pgp_import_command="gpg --no-verbose --import --verbose %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" # match necessary for a good signature: set pgp_good_sign="^gpg: Good signature from" # use inline signatures for compatibility with other clients and mailing # lists: set pgp_create_traditional=yes # automatically sign every mail: set pgp_autosign=yes # automatically encrypt replies on encrypted mails: set pgp_replyencrypt=yes # automatically verify inline signatures: set pgp_auto_decode=yes # store the gpg password for half an hour: set pgp_timeout=1800 # use my key for signing/encrypting: set pgp_sign_as=0x92FEFDB7E44C32F9 # enable encryption for all known GnuPG keys. crypto-autoencrypt.pl creates # all the necessary hooks: send-hook . 'set crypt_autoencrypt=no' source ~/.mutt/crypto-autoencrypt.pl| # vim: ft=muttrc