openssl/test/recipes/80-test_cmp_http_data/test_verification.csv
Dr. David von Oheimb 22dd3f8b27 CMP test_verification.csv: add missing test case for -untrusted with non-matching cert
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17252)
2021-12-13 09:48:25 +01:00

6.8 KiB

1expecteddescription-sectionval-recipientval-expect_senderval-srvcertval-trustedval-untrustedval-ignore_keyusage-unprotected_errors-extracertsoutvalval2-opt1arg1-opt2arg2-opt3arg3
21default test-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
30recipient missing arg-section-recipientBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
41unknown attribute in recipient name-section-recipient_CA_DN/ABC=123BLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
50wrong syntax in recipient name: trailing double '/' after value-section-recipient_CA_DN//BLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
60wrong syntax in recipient name: missing '='-section-recipient/CDEBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
70wrong syntax in recipient name: C too long-section-recipient/CN=ECC Issuing CA v10/OU=For test purpose only/O=CMPforOpenSSL/C=DEEBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
81config default with expected sender-section-recipient_CA_DN-expect_sender_SERVER_DNBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
90expected sender missing arg-section-recipient_CA_DN-expect_senderBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
100wrong expected sender-section-recipient_CA_DN-expect_sender/CN=Sample Cert/OU=R&D/O=Company Ltd./L=Dublin 4/C=IEBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
111unknown attribute in expected sender-section-recipient_CA_DN-expect_sender_SERVER_DN/ABC=123BLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
120extra attribute in expected sender-section-recipient_CA_DN-expect_sender_SERVER_DN/serialNumber=123BLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
130double attribute in expected sender-section-recipient_CA_DN-expect_sender/CN=ECC Issuing CA v10_SERVER_DNBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
140missing attribute in expected sender-section-recipient_CA_DN-expect_sender/CN=ECC Issuing CA v10/OU=For test purpose only/C=DEBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
150bad syntax in expected sender name: leading double '/'-section-recipient_CA_DN-expect_sender//_CA_DNBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
160bad syntax in expected sender name: trailing double '/'-section-recipient_CA_DN-expect_sender_CA_DN//BLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
170bad syntax in expected sender name: missing '='-section-recipient_CA_DN-expect_sender/C=DE/CN=ECC Issuing CA v10/OU=For test purpose only/OCMPforOpenSSLBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
180expected sender empty attributes-section-recipient_CA_DN-expect_sender/CN=/OU=/O=/C=BLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
190srvcert missing arg-section-recipient"BLANK-srvcert-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
200wrong srvcert-section-recipient"BLANK-srvcertsigner.crt-trusted"BLANKBLANK-unprotected_errorsBLANK
210srvcert is empty file-section-recipient"BLANK-srvcertempty.txt-trusted"BLANKBLANK-unprotected_errorsBLANK
220srvcert random content-section-recipient"BLANK-srvcertrandom.bin-trusted"BLANKBLANK-unprotected_errorsBLANK
231no -trusted but srvcert-section-recipient_CA_DNBLANK-srvcert_SERVER_CERTBLANKBLANK-unprotected_errorsBLANK
240trusted missing arg-section-recipient_CA_DNBLANKBLANK-trustedBLANKBLANK-unprotected_errorsBLANK
250wrong trusted cert-section-recipient_CA_DNBLANKBLANK-trustedsigner.crtBLANKBLANK-unprotected_errorsBLANK-secret"-certsigner.crt-keysigner.p12-keypasspass:12345
260trusted empty file-section-recipient_CA_DNBLANKBLANK-trustedempty.txtBLANKBLANK-unprotected_errorsBLANK
270trusted random file-section-recipient_CA_DNBLANKBLANK-trustedrandom.binBLANKBLANK-unprotected_errorsBLANK
280trusted file does not exist-section-recipient_CA_DNBLANKBLANK-trustedidontexistBLANKBLANK-unprotected_errorsBLANK
290untrusted missing arg-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crt-untrustedBLANK-unprotected_errorsBLANK
301untrusted not matching cert-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crt-untrustedroot.crtBLANK-unprotected_errorsBLANK
310untrusted empty file-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crt-untrustedempty.txtBLANK-unprotected_errorsBLANK
320untrusted random file-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crt-untrustedrandom.binBLANK-unprotected_errorsBLANK
330untrusted file does not exist-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crt-untrustedidontexistBLANK-unprotected_errorsBLANK
341ignore key usage-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANK-ignore_keyusage-unprotected_errorsBLANK
350ignorekeyusage with parameter-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANK-unprotected_errorsBLANK-ignore_keyusage1
361no unprotected errors - no errors-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANKBLANKBLANK
370unprotected_errors with parameter-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANKBLANKBLANK-unprotected_errors123
381extracertsout-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errors-extracertsout_RESULT_DIR/test.extracerts.pem
390extracertsout no parameter-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errors-extracertsout
400extracertsout multiple arguments-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errors-extracertsoutabcdef