notmuch/test/smime
Daniel Kahn Gillmor 1f21465205 tests/smime: Include the Sample LAMPS Certificate Authority
This CA is useful for test suites and the like, but is not an
actually-secure CA, because its secret key material is also published.

I plan to use it for its intended purpose in the notmuch test suite.

It was copied from this Internet Draft:

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

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2020-04-30 17:53:54 -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