crypto.muttrc 2.2 KB

123456789101112131415161718192021222324252627282930313233
  1. ##### My (demuredemeanor) muttrc sub crypto config
  2. # Uses tabstop=4; shiftwidth=4 tabs; foldmarker={{{,}}};
  3. # https://notabug.org/demure/dotfiles
  4. # legacy repo http://github.com/demure/dotfiles
  5. # vim:set syntax=muttrc:
  6. set pgp_use_gpg_agent = yes
  7. set pgp_sign_as = 5FEC76218436521FE0B05D119A5C2AE96907C3D1
  8. set pgp_self_encrypt = yes
  9. set pgp_default_key = 061F408B84683AB36305F97B2C75CC3414602EB6
  10. set pgp_autosign = yes
  11. set crypt_autosign = yes
  12. set crypt_replysign = yes
  13. set crypt_replyencrypt = yes
  14. set crypt_replysignencrypted = yes
  15. set crypt_verify_sig = yes
  16. set crypt_use_gpgme = yes
  17. set pgp_decode_command = "gpg2 %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
  18. set pgp_verify_command = "gpg2 --no-verbose --batch --output - --verify %s %f"
  19. set pgp_decrypt_command = "gpg2 --no-verbose --batch --output - %f"
  20. set pgp_sign_command = "gpg2 --no-verbose --batch --output - --armor --detach-sign --textmode %?a?-u %a? %f"
  21. set pgp_clearsign_command = "gpg2 --no-verbose --batch --output - --armor --textmode --clearsign %?a?-u %a? %f"
  22. ## Giving the full path fixes a pgpewrap not found issue
  23. set pgp_encrypt_only_command = "/usr/lib/neomutt/pgpewrap gpg2 --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 061F408B84683AB36305F97B2C75CC3414602EB6 -- -r %r -- %f"
  24. set pgp_encrypt_sign_command = "/usr/lib/neomutt/pgpewrap gpg2 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 061F408B84683AB36305F97B2C75CC3414602EB6 -- -r %r -- %f"
  25. set pgp_import_command = "gpg2 --no-verbose --import -v %f"
  26. set pgp_export_command = "gpg2 --no-verbose --export --armor %r"
  27. set pgp_verify_key_command = "gpg2 --no-verbose --batch --fingerprint --check-sigs %r"
  28. set pgp_list_pubring_command = "gpg2 --no-verbose --batch --with-colons --list-keys %r"
  29. set pgp_list_secring_command = "gpg2 --no-verbose --batch --with-colons --list-secret-keys %r"
  30. set pgp_good_sign = "^gpg: Good signature from"
  31. set pgp_timeout = 3600