From 918079352856ec33c5c9f6e13a2c85e5ac9b9d21 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 6 May 2022 11:17:42 +0200 Subject: mutt: Force use of specific signing key .config/mutt/*: Force the use of a specific signing key by appending "!" to the key ID. Gnupg has the bizarre "feature" to just YOLO use any subkey with signing capability it finds instead. --- .config/mutt/dave@sleepmap.de.rc | 2 +- .config/mutt/dvzrv@archlinux.org.rc | 2 +- .config/mutt/gpg.rc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to '.config/mutt') diff --git a/.config/mutt/dave@sleepmap.de.rc b/.config/mutt/dave@sleepmap.de.rc index 7d66fb5..ad0376f 100644 --- a/.config/mutt/dave@sleepmap.de.rc +++ b/.config/mutt/dave@sleepmap.de.rc @@ -6,7 +6,7 @@ set postponed = "+Drafts" set record = "+Sent" set realname = "David Runge" set signature = ".config/mutt/dave@sleepmap.de.sig" -set pgp_default_key = '1793DAD5D803A8FFD7451697BB992F9864FAD168' +set pgp_default_key = '1793DAD5D803A8FFD7451697BB992F9864FAD168!' color status green default diff --git a/.config/mutt/dvzrv@archlinux.org.rc b/.config/mutt/dvzrv@archlinux.org.rc index 1d36188..df22b8d 100644 --- a/.config/mutt/dvzrv@archlinux.org.rc +++ b/.config/mutt/dvzrv@archlinux.org.rc @@ -6,7 +6,7 @@ set postponed = "+Drafts" set record = "+Sent" set realname = "David Runge" set signature = ".config/mutt/dvzrv@archlinux.org.sig" -set pgp_default_key = 'C7E7849466FE2358343588377258734B41C31549' +set pgp_default_key = 'C7E7849466FE2358343588377258734B41C31549!' color status green default diff --git a/.config/mutt/gpg.rc b/.config/mutt/gpg.rc index 0e67f41..a43e21b 100644 --- a/.config/mutt/gpg.rc +++ b/.config/mutt/gpg.rc @@ -1,7 +1,7 @@ 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_default_key = '1793DAD5D803A8FFD7451697BB992F9864FAD168!' set pgp_timeout = 60 set pgp_verify_command = "gpg --batch --output - --verify %s %f" set crypt_use_gpgme = yes -- cgit v1.2.3-70-g09d2