summaryrefslogtreecommitdiffstats
path: root/mutt/gpg.rc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-12 18:05:36 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-12 18:05:44 +0100
commite6fd7b60e1d6e7869baed548ffbd620d8d3e32b9 (patch)
tree17b746576de6ade8036440749998455faa0948f1 /mutt/gpg.rc
parent3ca15d636041e149efa91eabafb1ca189b7aa29d (diff)
Changed p binding to go back to GPG use
Diffstat (limited to 'mutt/gpg.rc')
-rw-r--r--mutt/gpg.rc31
1 files changed, 31 insertions, 0 deletions
diff --git a/mutt/gpg.rc b/mutt/gpg.rc
new file mode 100644
index 0000000..39c351b
--- /dev/null
+++ b/mutt/gpg.rc
@@ -0,0 +1,31 @@
+# Use GPGME
+# from https://seniormars.github.io/posts/neomutt/
+# Use my key for signing and encrypting
+set pgp_default_key = 19014642A9FCD633B886B8F59C9841C3EF4E0B8E
+
+# Use GPGME
+set crypt_use_gpgme = yes
+
+# Automatically sign all out-going email
+set crypt_autosign = yes
+
+# Sign replies to signed emails
+set crypt_replysign = yes
+
+# Encrypt replies to encrypted emails
+set crypt_replyencrypt = yes
+
+# Encrypt and sign replies to encrypted and signed email
+set crypt_replysignencrypted = yes
+
+# Attempt to verify signatures automatically
+set crypt_verify_sig = yes
+
+# Attempt to encrypt automatically, if possible
+# I would recommend setting this to no
+# And this will cause your emails to be marked as spam
+# as they can't decrypt your emails LMAO
+set crypt_opportunistic_encrypt = no
+
+# So you can view encrypted emails automatically
+auto_view application/pgp-encrypted