diff options
author | Tharre <tharre3@gmail.com> | 2015-09-12 20:50:51 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2016-10-07 20:13:36 +0000 |
commit | 4b4737732ebcd505d6a1ebf4b9a9311a6bf2a585 (patch) | |
tree | c507cd96c77730cd39145ef12dcd61aaff96cf77 | |
parent | e6d129edba8695ae28514f635001fe67b119d0b5 (diff) | |
download | dotfiles-4b4737732ebcd505d6a1ebf4b9a9311a6bf2a585.tar.gz dotfiles-4b4737732ebcd505d6a1ebf4b9a9311a6bf2a585.tar.xz dotfiles-4b4737732ebcd505d6a1ebf4b9a9311a6bf2a585.zip |
mutt: add gpg support
-rw-r--r-- | email/_mutt/gpg.muttrc | 11 | ||||
-rw-r--r-- | email/_mutt/muttrc | 1 | ||||
-rw-r--r-- | shell/_gnupg/gpg.conf | 3 |
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 |