1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-30 22:08:02 +02:00
gnupg/tests/cms/samplekeys
Werner Koch 5f694dc0be
sm: Adding missing stuff to the PKCS#12 parser rewrite.
* sm/minip12.c (struct bufferlist_s): New.
(struct tlv_ctx_s): Add bufferlist.
(tlv_register_buffer): New.
(tlv_release): Release bufferlist.
(tlv_expect_object): Handle octet string cramming.
(tlv_expect_octet_string): Ditto.
(cram_octet_string): Changed interface.  We don't need the
input_consumed value anymore.

* sm/minip12.c (parse_shrouded_key_bag): Also parse the attribute set.

* sm/t-minip12.c (main): Add option --no-extra.
(cert_collect_cb, run_tests_from_file): Fix memory leak

* tests/cms/samplekeys/t5793-openssl.pfx: New from T5793.
* tests/cms/samplekeys/t5793-test.pfx: Ditto.
* tests/cms/samplekeys/Description-p12: Add them.
* tests/cms/Makefile.am (EXTRA_DIST): Add samplekeys.
--

This should finish the rewrite of the pkcsc#12 parser for now.  More
fun is likely to come.

GnuPG-bug-id: 6536, 5793
2023-06-29 17:49:10 +02:00
..
8D6D17B4B94BBE8304926C016D2C5C7805EB6705.key tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
68A638998DFABAC510EA645CE34F9686B2EDF7EA.key tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
32100C27173EF6E9C4E9A25D3D69F86D37A4F939.key tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
cert_g10code_enconly_1.pem tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
cert_g10code_pete1.pem tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
cert_g10code_test_ca.pem tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
cert_g10code_test1.pem tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
cert_g10code_theo1.pem tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
cert-with-117-akas.pem tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
cryptlib-key.p12 tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
Description-p12 sm: Adding missing stuff to the PKCS#12 parser rewrite. 2023-06-29 17:49:10 +02:00
gte.pem tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
opensc-test.p12 tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
ossl-rentec-user.pem tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
ov-server.p12 tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
ov-user.p12 tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
README sm: Major rewrite of the PKCS#12 parser 2023-06-28 17:34:19 +02:00
steed-self-signing-nonthority.pem tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
t5793-openssl.pfx sm: Adding missing stuff to the PKCS#12 parser rewrite. 2023-06-29 17:49:10 +02:00
t5793-test.pfx sm: Adding missing stuff to the PKCS#12 parser rewrite. 2023-06-29 17:49:10 +02:00
webdeca.der tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00
webderoot.der tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00

This is a collection of keys we use with the regression tests.
For the *.p12 files see Description-p12

ossl-rentec-user.pem  An OpenSSL generated user certificate using a
                      bunch of attributes and DC RDNs.

webderoot.der      trust.web.de Root CA certificate [2004-02-17]
webdeca.der        trust.web.de CA certificate [2004-02-17]


gte.pem            GTE CyberTrust Global Root

cert-with-117-akas.pem  A certificate with 117 subjectAltNames.

steed-self-signing-nonthority.pem
                   The STEED Self-Signing Nonthority.
68A638998DFABAC510EA645CE34F9686B2EDF7EA.key
                   The private Key of The STEED Self-Signing Nonthority.