mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 19:04:53 +01:00
ef30770dfa
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.
7 lines
275 B
Text
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
|