]> gitweb.michael.orlitzky.com - mutt.d.git/commitdiff
gpg,muttrc: add basic GPG (via the gpgme library) config master
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 19 Dec 2025 16:45:43 +0000 (11:45 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 1 Mar 2026 13:14:28 +0000 (08:14 -0500)
gpg [new file with mode: 0644]
muttrc

diff --git a/gpg b/gpg
new file mode 100644 (file)
index 0000000..d50c1be
--- /dev/null
+++ b/gpg
@@ -0,0 +1,3 @@
+set crypt_use_gpgme = yes
+set crypt_replysign = yes
+set crypt_replysignencrypted = yes
diff --git a/muttrc b/muttrc
index 4824af25d228a9c2ee9f0de307070a9c0d313605..d5ca120fa2c45d6069bc8ed4d51b822357ead11c 100644 (file)
--- a/muttrc
+++ b/muttrc
@@ -4,12 +4,15 @@ set realname=""
 set from="user@example.com"
 # alternates ^my-alias1@example.com$ ^my-alias2@example.net$
 # mailboxes =INBOX =lists/foo-users =lists/bar-devel ...
+# set pgp_default_key="0xDEADBEEF"
+# set pgp_sign_as="0x0000ACAB"
 
 # Pull in all of the other config files
 source "~/.mutt/colors"
 source "~/.mutt/headers"
 source "~/.mutt/keys"
 source "~/.mutt/folders"
+source "~/.mutt/gpg"
 source "~/.mutt/miscellaneous"
 source "~/.mutt/ssl"
 source "~/.mutt/sidebar-common"