aboutsummaryrefslogtreecommitdiff
path: root/test/smime/README
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/smime/README
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/smime/README')
-rw-r--r--test/smime/README7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/smime/README b/test/smime/README
new file mode 100644
index 00000000..92803c77
--- /dev/null
+++ b/test/smime/README
@@ -0,0 +1,7 @@
+test.crt: self signed certificated
+ % gpgsm --gen-key # needs gpgsm 2.1
+
+key+cert.pem: cert + unencryped private
+ % gpsm --import test.crt
+ % gpgsm --export-private-key-p12 -out foo.p12 (no passphrase)
+ % openssl pkcs12 -in ns.p12 -clcerts -nodes > key+cert.pem