From 961d1a037dfcf117e0900f8ceff5194e3265df8a Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 20 May 2016 00:16:46 +0200 Subject: [PATCH] l 2 mail: add not working pgp stuff --- lass/2configs/mail.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 \ + " set my_crypt_verify_sig=\$crypt_verify_sig \ + set crypt_verify_sig=yes \ + set crypt_verify_sig=\$my_crypt_verify_sig" \ + 'Verify PGP signature and open the message' + + macro pager \Cv \ + " set my_crypt_verify_sig=\$crypt_verify_sig \ + set crypt_verify_sig=yes \ + set crypt_verify_sig=\$my_crypt_verify_sig" \ + 'Verify PGP signature' + # notmuch set nm_default_uri="notmuch://$HOME/Maildir" # path to the maildir