aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2022-05-06 11:17:42 +0200
committerDavid Runge <dave@sleepmap.de>2022-05-06 11:33:38 +0200
commit918079352856ec33c5c9f6e13a2c85e5ac9b9d21 (patch)
tree06b1ba3c9b758f2001c617806b2f7129ba356009
parent2e10eb9add517a1cf5da7fdda4e2cb676f66d033 (diff)
downloaddotfiles-918079352856ec33c5c9f6e13a2c85e5ac9b9d21.tar.gz
dotfiles-918079352856ec33c5c9f6e13a2c85e5ac9b9d21.tar.bz2
dotfiles-918079352856ec33c5c9f6e13a2c85e5ac9b9d21.tar.xz
dotfiles-918079352856ec33c5c9f6e13a2c85e5ac9b9d21.zip
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.
-rw-r--r--.config/mutt/dave@sleepmap.de.rc2
-rw-r--r--.config/mutt/dvzrv@archlinux.org.rc2
-rw-r--r--.config/mutt/gpg.rc2
3 files changed, 3 insertions, 3 deletions
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