aboutsummaryrefslogtreecommitdiff
path: root/test/test-lib.el
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2015-08-16 19:41:12 +0200
committerDavid Bremner <david@tethera.net>2016-01-29 17:45:46 -0400
commitef30770dfa0fbef4e91ec90d6ce21b5a55b15375 (patch)
tree50073bcb72ae51b4bfe5deeedee826cba558884b /test/test-lib.el
parent12534d5c4b02498173b0c63d063ae0a3c845b957 (diff)
test: initial tests for S/MIME and notmuch-emacs
Test the ability of notmuch-mua-mail to send S/MIME signed (and encrypted) messages; this really relies on existing functionality in message-mode. The generated keys and messages will later be useful for testing the notmuch CLI.
Diffstat (limited to 'test/test-lib.el')
-rw-r--r--test/test-lib.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test-lib.el b/test/test-lib.el
index 04c8d634..596a7051 100644
--- a/test/test-lib.el
+++ b/test/test-lib.el
@@ -188,3 +188,13 @@ nothing."
;; environments
(setq mm-text-html-renderer 'html2text)
+
+;; Set some variables for S/MIME tests.
+
+(setq smime-keys '(("" "test_suite.pem" nil)))
+
+(setq mml-smime-use 'openssl)
+
+;; all test keys are without passphrase
+(eval-after-load 'smime
+ '(defun smime-ask-passphrase (cache) nil))