X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=dotfiles%2Fuser%2Fserver%2Fminimal%2Fmuttrc;fp=dotfiles%2Fuser%2Fserver%2Fminimal%2Fmuttrc;h=d87fc08ec2f03c34345727110cfaf68e2f9a2dbe;hb=887b2d07b296dd2d07f306549dd57fb5090d98cf;hp=517ff9991401b7dfc1179a8e2c950ef4efa696ff;hpb=78a58b6974b4ac8eceee5582c8f057464b3e99a1;p=config diff --git a/dotfiles/user/server/minimal/muttrc b/dotfiles/user/server/minimal/muttrc index 517ff99..d87fc08 100644 --- a/dotfiles/user/server/minimal/muttrc +++ b/dotfiles/user/server/minimal/muttrc @@ -40,3 +40,27 @@ set sort=reverse-date # potentially important attachments. set index_format="%4C %Z %?X?[%X]& ? %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" alternative_order multipart/related text/plain text/html + +# Defaults from /usr/share/doc/mutt/examples/gpg.rc +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_good_sign="^\\[GNUPG:\\] GOODSIG" + +# Further stuff from http://codesorcery.net/old/mutt/mutt-gnupg-howto +set pgp_autosign=yes +set pgp_sign_as=0x98F64A5F +set pgp_replyencrypt=yes +set pgp_timeout=1800 + +# Promoting my public key. +my_hdr X-PGP-Key: https://dump.plomlompom.com/dump/plomlompom.asc