mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
168c595b14
Certificate Management Protocol (CMP, RFC 4210) extension to OpenSSL Also includes CRMF (RFC 4211) and HTTP transfer (RFC 6712). Adds the CMP and CRMF API to libcrypto and the "cmp" app to the CLI. Adds extensive documentation and tests. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11998)
5.3 KiB
5.3 KiB
1 | expected | description | -section | val | -ref | val | -secret | val | -cert | val | -key | val | -keypass | val | -extracerts | val | BLANK | BLANK | -digest | val | -unprotected_requests | noarg |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | 1 | secret missing arg | -section | BLANK | -secret | BLANK | BLANK | BLANK | BLANK | BLANK | BLANK | BLANK | ||||||||||
3 | 1 | wrong secret without ref | -section | BLANK | -secret | pass:wrong | BLANK | BLANK | BLANK | BLANK | BLANK | BLANK | BLANK | |||||||||
4 | 1 | ref missing arg | -section | -ref | BLANK | BLANK | BLANK | BLANK | BLANK | BLANK | BLANK | BLANK | ||||||||||
5 | 0 | empty ref but correct cert | -section | -ref | " | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | ||||||
6 | 0 | wrong ref but correct cert | -section | -ref | wrong | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | ||||||
7 | 0 | valid cert and key and keypass | -section | BLANK | -secret | " | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | ||||||
8 | 1 | cert missing arg | -section | BLANK | BLANK | -cert | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | ||||||||
9 | 1 | key missing arg | -section | BLANK | BLANK | -cert | signer.crt | -key | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | ||||||||
10 | 1 | keypass missing arg | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | BLANK | BLANK | BLANK | BLANK | ||||||||
11 | 1 | keypass empty string | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass: | BLANK | BLANK | BLANK | BLANK | |||||||
12 | 0 | keypass no prefix | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | 12345 | BLANK | BLANK | BLANK | BLANK | |||||||
13 | 1 | keypass prefix wrong | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | :12345 | BLANK | BLANK | BLANK | BLANK | |||||||
14 | 1 | wrong keypass | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:123456 | BLANK | BLANK | BLANK | BLANK | |||||||
15 | 1 | no cert | -section | BLANK | BLANK | BLANK | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | ||||||||
16 | 1 | no key | -section | BLANK | BLANK | -cert | signer.crt | BLANK | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | ||||||||
17 | 1 | no keypass | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | BLANK | BLANK | BLANK | BLANK | BLANK | ||||||||
18 | 1 | wrong cert | -section | BLANK | BLANK | -cert | trusted.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | |||||||
19 | 1 | cert file does not exist | -section | BLANK | BLANK | -cert | idontexist | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | |||||||
20 | 1 | cert file random content | -section | BLANK | BLANK | -cert | random.bin | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | |||||||
21 | 1 | empty cert file | -section | BLANK | BLANK | -cert | empty.txt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | |||||||
22 | 1 | key file random content | -section | BLANK | BLANK | -cert | signer.crt | -key | random.bin | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | |||||||
23 | 1 | random keypass file | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | file:random.bin | BLANK | BLANK | BLANK | BLANK | |||||||
24 | 0 | correct extraCerts | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | -extracerts | issuing.crt | BLANK | BLANK | BLANK | ||||||
25 | 0 | extracerts big file | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | -extracerts | big_issuing.crt | BLANK | BLANK | BLANK | ||||||
26 | 1 | extracerts missing arg | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | -extracerts | BLANK | BLANK | BLANK | |||||||
27 | 1 | extracerts empty file | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | -extracerts | empty.txt | BLANK | BLANK | BLANK | ||||||
28 | 1 | extracerts random content | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | -extracerts | random.bin | BLANK | BLANK | BLANK | ||||||
29 | 1 | extracerts file does not exist | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | -extracerts | idontexist | BLANK | BLANK | BLANK | ||||||
30 | 0 | default sha256 | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | BLANK | BLANK | |||||||
31 | 0 | digest sha256 | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | -digest | sha256 | BLANK | ||||||
32 | 0 | digest sha512 | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | -digest | sha512 | BLANK | ||||||
33 | 1 | digest missing arg | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | -digest | BLANK | |||||||
34 | 1 | digest non-existing | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | -digest | sha7 | BLANK | ||||||
35 | 1 | digest obsolete | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | -digest | md2 | BLANK | ||||||
36 | 1 | multiple digests | -section | BLANK | BLANK | -cert | signer.crt | -key | signer.p12 | -keypass | pass:12345 | BLANK | BLANK | -digest | sha256 sha512 | BLANK | ||||||
37 | 1 | unprotected request | -section | BLANK | BLANK | -cert | " | -key | " | -keypass | " | BLANK | BLANK | BLANK | -unprotected_requests |