aboutsummaryrefslogtreecommitdiffstats
path: root/.config/mutt/gpg.rc
blob: 057cadfede787edd1c99eee6c1a14e8349a799fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set pgp_good_sign="^gpg: Good signature from "
set pgp_use_gpg_agent = yes
set pgp_self_encrypt = yes
set pgp_default_key = "1793DAD5D803A8FFD7451697BB992F9864FAD168"
set pgp_timeout = 60
set pgp_verify_command = "gpg --batch --output - --verify %s %f"
set crypt_use_gpgme = yes
set crypt_autosign = yes
set crypt_replyencrypt = yes
set crypt_replysignencrypted = yes
set crypt_protected_headers_write = yes

# add message-hook for non standard-compliant (old) gnupg style messages
message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp"

send-hook . 'reset crypt_autoencrypt'
source "~/.config/mutt/gpg-auto.rc"
# vi: ft=muttrc