notmuch/test/smime/README
David Bremner ef30770dfa 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.
2016-01-29 17:45:46 -04:00

7 lines
275 B
Text

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