summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--email/_mutt/gpg.muttrc11
-rw-r--r--email/_mutt/muttrc1
-rw-r--r--shell/_gnupg/gpg.conf3
3 files changed, 15 insertions, 0 deletions
diff --git a/email/_mutt/gpg.muttrc b/email/_mutt/gpg.muttrc
new file mode 100644
index 0000000..bb9a5a7
--- /dev/null
+++ b/email/_mutt/gpg.muttrc
@@ -0,0 +1,11 @@
+# Use GPGME
+set crypt_use_gpgme = yes
+
+# Automatically sign all outgoing mails
+set crypt_autosign = yes
+
+# Encrypt replies to encrypted mail
+set crypt_replyencrypt = yes
+
+# Attempt to verify email signatures automatically
+set crypt_verify_sig = yes
diff --git a/email/_mutt/muttrc b/email/_mutt/muttrc
index fad0886..cbd9eff 100644
--- a/email/_mutt/muttrc
+++ b/email/_mutt/muttrc
@@ -137,3 +137,4 @@ set sendmail_wait = 0
unset record
source ~/.mutt/colors.muttrc
+source ~/.mutt/gpg.muttrc
diff --git a/shell/_gnupg/gpg.conf b/shell/_gnupg/gpg.conf
index aa048f9..585e888 100644
--- a/shell/_gnupg/gpg.conf
+++ b/shell/_gnupg/gpg.conf
@@ -1,2 +1,5 @@
# needs long keyID, obtained with gpg --list-key --with-colons
trusted-key 5431BDE2C8F0B2F4
+
+# store encrypted outgoing mails with my own public key
+encrypt-to 0xC8F0B2F4