Latest update (add quic)

This commit is contained in:
2020-07-12 19:52:18 +09:00
parent 3a6d64bb68
commit e85ee33eee
501 changed files with 19166 additions and 10232 deletions
@@ -0,0 +1,51 @@
expected,description, -section,val, -recipient,val, -expect_sender,val, -srvcert,val, -trusted,val, -untrusted,val, -ignore_keyusage, -unprotected_errors, -extracertsout,val,val2, -opt1,arg1, -opt2,arg2, -opt3,arg3
,,,,,Recipient,options:,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
0,default test, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
1,recipient missing arg, -section,, -recipient,,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
0,unknown attribute in recipient name, -section,, -recipient,_CA_DN/ABC=123,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,wrong syntax in recipient name: trailing double '/' after value, -section,, -recipient,_CA_DN//,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,wrong syntax in recipient name: missing '=', -section,, -recipient,/CDE,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,wrong syntax in recipient name: C too long, -section,, -recipient,/CN=ECC Issuing CA v10/OU=For test purpose only/O=CMPforOpenSSL/C=DEE,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
0,config default with expected sender, -section,, -recipient,_CA_DN, -expect_sender,_SERVER_DN,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,expected sender missing arg, -section,, -recipient,_CA_DN, -expect_sender,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,wrong expected sender, -section,, -recipient,_CA_DN, -expect_sender,/CN=Sample Cert/OU=R&D/O=Company Ltd./L=Dublin 4/C=IE,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
0,unknown attribute in expected sender, -section,, -recipient,_CA_DN, -expect_sender,_SERVER_DN/ABC=123,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,extra attribute in expected sender, -section,, -recipient,_CA_DN, -expect_sender,_SERVER_DN/serialNumber=123,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,double attribute in expected sender, -section,, -recipient,_CA_DN, -expect_sender,/CN=ECC Issuing CA v10_SERVER_DN,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,missing attribute in expected sender, -section,, -recipient,_CA_DN, -expect_sender,/CN=ECC Issuing CA v10/OU=For test purpose only/C=DE,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,bad syntax in expected sender name: leading double '/', -section,, -recipient,_CA_DN, -expect_sender,//_CA_DN,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,bad syntax in expected sender name: trailing double '/', -section,, -recipient,_CA_DN, -expect_sender,_CA_DN//,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,bad syntax in expected sender name: missing '=', -section,, -recipient,_CA_DN, -expect_sender,/C=DE/CN=ECC Issuing CA v10/OU=For test purpose only/OCMPforOpenSSL,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,expected sender empty attributes, -section,, -recipient,_CA_DN, -expect_sender,/CN=/OU=/O=/C=,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
0,explicit srvcert, -section,,,,BLANK,, -srvcert,_SERVER_CERT, -trusted,"""",BLANK,,,, -unprotected_errors,BLANK,,,,,,,,
1,srvcert missing arg, -section,, -recipient,"""",BLANK,, -srvcert,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,wrong srvcert, -section,, -recipient,"""",BLANK,, -srvcert,signer.crt, -trusted,"""",BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,srvcert is empty file, -section,, -recipient,"""",BLANK,, -srvcert,empty.txt, -trusted,"""",BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,srvcert random content, -section,, -recipient,"""",BLANK,, -srvcert,random.bin, -trusted,"""",BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
0,no -trusted but srvcert, -section,, -recipient,_CA_DN,BLANK,, -srvcert,_SERVER_CERT,BLANK,,BLANK,,, -unprotected_errors,BLANK,,,,,,,,
1,trusted missing arg, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,wrong trusted cert, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,signer.crt,BLANK,,BLANK, -unprotected_errors,BLANK, -secret,"""", -cert,signer.crt, -key,signer.p12, -keypass,pass:12345
1,trusted empty file, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,empty.txt,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,trusted random file, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,random.bin,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,trusted file does not exist, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,idontexist,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
1,untrusted missing arg, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt, -untrusted,,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,untrusted empty file, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt, -untrusted,empty.txt,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,untrusted random file, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt, -untrusted,random.bin,BLANK, -unprotected_errors,BLANK,,,,,,,,
1,untrusted file does not exist, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt, -untrusted,idontexist,BLANK, -unprotected_errors,BLANK,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
0,ignore key usage, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,, -ignore_keyusage, -unprotected_errors,BLANK,,,,,,,,
1,ignorekeyusage with parameter, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,, -unprotected_errors,BLANK, -ignore_keyusage,1,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
0,no unprotected errors - no errors, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK,BLANK,BLANK,,,,,,,,
1,unprotected_errors with parameter, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK,BLANK,BLANK,,, -unprotected_errors,123,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
0,extracertsout, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors, -extracertsout,test.extracerts.pem,,,,,,,
1,extracertsout no parameter, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors, -extracertsout,,,,,,,,
1,extracertsout directory, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors, -extracertsout,directory/,,,,,,,
1,extracertsout multiple arguments, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unprotected_errors, -extracertsout,abc,def,,,,,,
1 expected description -section val -recipient val -expect_sender val -srvcert val -trusted val -untrusted val -ignore_keyusage -unprotected_errors -extracertsout val val2 -opt1 arg1 -opt2 arg2 -opt3 arg3
2 Recipient options:
3
4 0 default test -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
5
6 1 recipient missing arg -section -recipient BLANK BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
7 0 unknown attribute in recipient name -section -recipient _CA_DN/ABC=123 BLANK BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
8 1 wrong syntax in recipient name: trailing double '/' after value -section -recipient _CA_DN// BLANK BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
9 1 wrong syntax in recipient name: missing '=' -section -recipient /CDE BLANK BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
10 1 wrong syntax in recipient name: C too long -section -recipient /CN=ECC Issuing CA v10/OU=For test purpose only/O=CMPforOpenSSL/C=DEE BLANK BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
11
12 0 config default with expected sender -section -recipient _CA_DN -expect_sender _SERVER_DN BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
13 1 expected sender missing arg -section -recipient _CA_DN -expect_sender BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
14 1 wrong expected sender -section -recipient _CA_DN -expect_sender /CN=Sample Cert/OU=R&D/O=Company Ltd./L=Dublin 4/C=IE BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
15 0 unknown attribute in expected sender -section -recipient _CA_DN -expect_sender _SERVER_DN/ABC=123 BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
16 1 extra attribute in expected sender -section -recipient _CA_DN -expect_sender _SERVER_DN/serialNumber=123 BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
17 1 double attribute in expected sender -section -recipient _CA_DN -expect_sender /CN=ECC Issuing CA v10_SERVER_DN BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
18 1 missing attribute in expected sender -section -recipient _CA_DN -expect_sender /CN=ECC Issuing CA v10/OU=For test purpose only/C=DE BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
19 1 bad syntax in expected sender name: leading double '/' -section -recipient _CA_DN -expect_sender //_CA_DN BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
20 1 bad syntax in expected sender name: trailing double '/' -section -recipient _CA_DN -expect_sender _CA_DN// BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
21 1 bad syntax in expected sender name: missing '=' -section -recipient _CA_DN -expect_sender /C=DE/CN=ECC Issuing CA v10/OU=For test purpose only/OCMPforOpenSSL BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
22 1 expected sender empty attributes -section -recipient _CA_DN -expect_sender /CN=/OU=/O=/C= BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
23
24 0 explicit srvcert -section BLANK -srvcert _SERVER_CERT -trusted " BLANK -unprotected_errors BLANK
25 1 srvcert missing arg -section -recipient " BLANK -srvcert -trusted trusted.crt BLANK BLANK -unprotected_errors BLANK
26 1 wrong srvcert -section -recipient " BLANK -srvcert signer.crt -trusted " BLANK BLANK -unprotected_errors BLANK
27 1 srvcert is empty file -section -recipient " BLANK -srvcert empty.txt -trusted " BLANK BLANK -unprotected_errors BLANK
28 1 srvcert random content -section -recipient " BLANK -srvcert random.bin -trusted " BLANK BLANK -unprotected_errors BLANK
29
30 0 no -trusted but srvcert -section -recipient _CA_DN BLANK -srvcert _SERVER_CERT BLANK BLANK -unprotected_errors BLANK
31 1 trusted missing arg -section -recipient _CA_DN BLANK BLANK -trusted BLANK BLANK -unprotected_errors BLANK
32 1 wrong trusted cert -section -recipient _CA_DN BLANK BLANK -trusted signer.crt BLANK BLANK -unprotected_errors BLANK -secret " -cert signer.crt -key signer.p12 -keypass pass:12345
33 1 trusted empty file -section -recipient _CA_DN BLANK BLANK -trusted empty.txt BLANK BLANK -unprotected_errors BLANK
34 1 trusted random file -section -recipient _CA_DN BLANK BLANK -trusted random.bin BLANK BLANK -unprotected_errors BLANK
35 1 trusted file does not exist -section -recipient _CA_DN BLANK BLANK -trusted idontexist BLANK BLANK -unprotected_errors BLANK
36
37 1 untrusted missing arg -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt -untrusted BLANK -unprotected_errors BLANK
38 1 untrusted empty file -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt -untrusted empty.txt BLANK -unprotected_errors BLANK
39 1 untrusted random file -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt -untrusted random.bin BLANK -unprotected_errors BLANK
40 1 untrusted file does not exist -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt -untrusted idontexist BLANK -unprotected_errors BLANK
41
42 0 ignore key usage -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt BLANK -ignore_keyusage -unprotected_errors BLANK
43 1 ignorekeyusage with parameter -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt BLANK -unprotected_errors BLANK -ignore_keyusage 1
44
45 0 no unprotected errors - no errors -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt BLANK BLANK BLANK BLANK
46 1 unprotected_errors with parameter -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt BLANK BLANK BLANK BLANK -unprotected_errors 123
47
48 0 extracertsout -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors -extracertsout test.extracerts.pem
49 1 extracertsout no parameter -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors -extracertsout
50 1 extracertsout directory -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors -extracertsout directory/
51 1 extracertsout multiple arguments -section -recipient _CA_DN BLANK BLANK -trusted trusted.crt BLANK BLANK -unprotected_errors -extracertsout abc def