summaryrefslogtreecommitdiffstats
path: root/mutt
diff options
context:
space:
mode:
Diffstat (limited to 'mutt')
-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