notmuch/test/smime
David Bremner 4760b4470c test/T355-smime: Use key as exported by gpgsm
As reported in id:87h7pxiek3.fsf@tethera.net, the previous version of
the test is flaky. There is some so-far undebugged interaction between
openssl and gpgsm that causes the keys to fail to import. As a
potential workaround, use the key as exported by gpgsm, and eliminate
openssl from this particular pipeline.
2021-09-29 20:04:31 -03:00
..
0xE0972A47.p12 test/T355-smime: Use key as exported by gpgsm 2021-09-29 20:04:31 -03:00
bob.p12 tests/smime: include secret key material for Bob 2020-04-30 17:55:11 -03:00
ca.crt tests/smime: Include the Sample LAMPS Certificate Authority 2020-04-30 17:53:54 -03:00
key+cert.pem test: initial tests for S/MIME and notmuch-emacs 2016-01-29 17:45:46 -04:00
README tests/smime: Include the Sample LAMPS Certificate Authority 2020-04-30 17:53:54 -03:00
test.crt test: initial tests for S/MIME and notmuch-emacs 2016-01-29 17:45:46 -04:00

test.crt: self signed certificated
    % gpgsm --gen-key # needs gpgsm 2.1

key+cert.pem: cert + unencryped private
    % gpgsm --import test.crt
    % gpgsm --export-private-key-p12 -out foo.p12  (no passphrase)
    % openssl pkcs12 -in ns.p12 -clcerts -nodes > key+cert.pem

ca.crt: from https://tools.ietf.org/id/draft-dkg-lamps-samples-01.html#name-certificate-authority-certi