summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-05-20 00:16:46 +0200
committerlassulus <lass@aidsballs.de>2016-05-20 00:16:46 +0200
commit961d1a037dfcf117e0900f8ceff5194e3265df8a (patch)
tree7b2eb80a488fadd0ee7844ed1d6a3e62a04f0531 /lass/2configs
parent3fea8d651f49ac6a57f99bc6b49a5689e3c74fd8 (diff)
l 2 mail: add not working pgp stuff
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/mail.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/lass/2configs/mail.nix b/lass/2configs/mail.nix
index 3c7dfcaf6..72d6f987f 100644
--- a/lass/2configs/mail.nix
+++ b/lass/2configs/mail.nix
@@ -21,6 +21,21 @@ let
set pgp_sign_as = 0x976A7E4D
set crypt_autosign = yes
set crypt_replyencrypt = yes
+ set crypt_verify_sig = yes
+ set pgp_verify_command = "gpg --no-verbose --batch --output - --verify %s %f"
+
+ macro index \Cv \
+ "<enter-command> set my_crypt_verify_sig=\$crypt_verify_sig<enter> \
+ <enter-command> set crypt_verify_sig=yes<enter> \
+ <display-message><enter-command> set crypt_verify_sig=\$my_crypt_verify_sig<enter>" \
+ 'Verify PGP signature and open the message'
+
+ macro pager \Cv \
+ "<exit><enter-command> set my_crypt_verify_sig=\$crypt_verify_sig<enter> \
+ <enter-command> set crypt_verify_sig=yes<enter> \
+ <display-message><enter-command> set crypt_verify_sig=\$my_crypt_verify_sig<enter>" \
+ 'Verify PGP signature'
+
# notmuch
set nm_default_uri="notmuch://$HOME/Maildir" # path to the maildir