aboutsummaryrefslogtreecommitdiffstats
path: root/mutt/gpg.rc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-12 10:01:04 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-12 10:01:04 +0100
commit2c72fdae7d0a57ce50b389a809cbee391acef794 (patch)
treee63ea3c713586b61fad688a43fde939855e4ce83 /mutt/gpg.rc
parenteaa20ae4ecd80f46d1ab740cc731618e988cc7f3 (diff)
Emables GPG encryption in neomutt
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