From: Maximilian Friedersdorff Date: Thu, 12 May 2016 10:22:01 +0000 (+0100) Subject: Use gpg for signing and encrypting X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=5d7f50c8b49b77e91217ae6fc93bb13004ccf8e8;p=max%2Fdotfiles.git Use gpg for signing and encrypting --- diff --git a/mutt/.mutt/account.com.friedersdorff.max b/mutt/.mutt/account.com.friedersdorff.max index 2edf39c..eea065d 100644 --- a/mutt/.mutt/account.com.friedersdorff.max +++ b/mutt/.mutt/account.com.friedersdorff.max @@ -13,3 +13,5 @@ set certificate_file = ~/.mutt/com.friedersdorff.max/certificates set trash = "+Trash" set record = "+Sent" + +set pgp_sign_as="0x153CBB66" diff --git a/mutt/.mutt/account.com.gmail.maxf130 b/mutt/.mutt/account.com.gmail.maxf130 index b856b82..5bf21b2 100644 --- a/mutt/.mutt/account.com.gmail.maxf130 +++ b/mutt/.mutt/account.com.gmail.maxf130 @@ -13,3 +13,5 @@ set certificate_file = ~/.mutt/com.gmail.maxf130/certificates set trash = "" set record = "" + +set pgp_sign_as="0x153CBB66" diff --git a/mutt/.mutt/account.uk.ac.le.student.mf195 b/mutt/.mutt/account.uk.ac.le.student.mf195 index d6ff834..6c0bf50 100644 --- a/mutt/.mutt/account.uk.ac.le.student.mf195 +++ b/mutt/.mutt/account.uk.ac.le.student.mf195 @@ -13,3 +13,5 @@ set certificate_file = ~/.mutt/uk.ac.le.student.mf195/certificates set trash="+Trash" set record="+Sent" + +set pgp_sign_as="0x33FA1EFF" diff --git a/mutt/.mutt/account.uk.co.musoft.max b/mutt/.mutt/account.uk.co.musoft.max index ba7e6aa..b9bc431 100644 --- a/mutt/.mutt/account.uk.co.musoft.max +++ b/mutt/.mutt/account.uk.co.musoft.max @@ -13,3 +13,5 @@ set certificate_file = ~/.mutt/uk.co.musoft.max/certificates set trash = "" set record = "" + +set pgp_sign_as="0x2EA4B143" diff --git a/mutt/.mutt/gpg.rc b/mutt/.mutt/gpg.rc new file mode 100644 index 0000000..b2900e9 --- /dev/null +++ b/mutt/.mutt/gpg.rc @@ -0,0 +1,7 @@ +set crypt_autosign +set crypt_autopgp +set crypt_replyencrypt +set crypt_replysign +set crypt_replysignencrypted +set crypt_timestamp +set pgp_use_gpg_agent diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index c5cf8f2..36161de 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -36,3 +36,6 @@ macro pager \cb "|urlview\n" set text_flowed=yes set editor="vim +':set textwidth=0' +':set wrapmargin=0' +':set wrap'" + +# Encryption +source ~/.mutt/gpg.rc