Gilles Peskine
|
f22983bd1c
|
Merge pull request #7411 from mprse/extract-key-ids-test
Improve tests for parsing x509 SubjectKeyId and AuthorityKeyId
|
2023-06-14 19:16:29 +02:00 |
|
Przemek Stekiel
|
b3eaf8c2ed
|
Use predefined serial numer in certificates
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-14 14:25:21 +02:00 |
|
Gilles Peskine
|
e5e8ba654e
|
Merge pull request #7666 from mprse/ip_info
OPC UA: parsing IP's in SubjectAltNames & printing info
|
2023-06-08 15:23:21 +02:00 |
|
Przemek Stekiel
|
0b683a9a57
|
Remove redundant test and add tests: keyid only (without issuer)
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-07 09:01:29 +02:00 |
|
Przemek Stekiel
|
401c8e3a97
|
Adapt test (use path instead of bytes) after rebase
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-07 09:01:29 +02:00 |
|
Przemek Stekiel
|
05d5c3e734
|
Further test improvements
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-07 09:01:29 +02:00 |
|
Przemek Stekiel
|
64a06e48b3
|
Add more test cases
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-07 09:01:29 +02:00 |
|
Przemek Stekiel
|
2c64e90e02
|
Use RSA keys in generated certificates
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-07 09:01:29 +02:00 |
|
Przemek Stekiel
|
b1f0b536d7
|
Add test for invalid KeyIdentifier tag length + adapt error code
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-07 09:01:29 +02:00 |
|
Przemek Stekiel
|
1969f6a453
|
Test optional fields in authorityKeyId
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-07 09:01:29 +02:00 |
|
Przemek Stekiel
|
5ff986cb0a
|
Provide makefile rules to generate cerst for authorityKeyId, subjectKeyId tests
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-07 09:01:29 +02:00 |
|
Gilles Peskine
|
a5cd318137
|
Merge pull request #7670 from lpy4105/issue/fix-wrong-command-for-ec-key-files
Fix invalid commands for ec_x{25519,448}_{prv,pub}.{der,pem}
|
2023-06-06 20:56:52 +02:00 |
|
Gilles Peskine
|
259903b179
|
Merge pull request #7643 from lpy4105/issue/renew_cert_2024-01-01
Updating crt/crl files due to expiry before 2024-01-01
|
2023-06-06 20:55:23 +02:00 |
|
Przemek Stekiel
|
63973ab80e
|
Add test for invalid IP length (+use der format in tests)
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-06 11:44:25 +02:00 |
|
Jerry Yu
|
abf35d4ca3
|
Restore rsa_single_san_uri.crt.der
The file is moved by #7617 and used by #7575. That causes
conflict.
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2023-06-06 14:35:08 +08:00 |
|
Pengyu Lv
|
b8b9cd4a79
|
Mark all_intermediate as .SECONDARY
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:38:35 +08:00 |
|
Pengyu Lv
|
9770704cf2
|
Remove redundant PHONY targets
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:32:28 +08:00 |
|
Pengyu Lv
|
c7995a8185
|
Fix long line format
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:32:28 +08:00 |
|
Pengyu Lv
|
6561f7d8ab
|
server5-der*.crt: Simplify the size calculation
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:32:28 +08:00 |
|
Pengyu Lv
|
1ced2cce9b
|
Update crl-ec-sha*.pem, crl.pem, crl_cat_*.pem
This commit updates the files manually, the rules
of generating these files will be upload in other
PR.
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:32:16 +08:00 |
|
Pengyu Lv
|
f4b568cc98
|
Add rules to generate crl_cat*
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:32:01 +08:00 |
|
Pengyu Lv
|
89d71e241a
|
Update server10*.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:32:01 +08:00 |
|
Pengyu Lv
|
1fa43077fb
|
Update server8*.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:32:01 +08:00 |
|
Pengyu Lv
|
7c1781caa8
|
Update server7*.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:31:51 +08:00 |
|
Pengyu Lv
|
cd378f2ffe
|
Update pkcs7 files
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:31:30 +08:00 |
|
Pengyu Lv
|
0a7108f32d
|
Extend the validity period of pkcs7-rsa-sha*.crt to 10 years
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:31:30 +08:00 |
|
Pengyu Lv
|
193f414cf8
|
Update test-int-ca*.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:31:30 +08:00 |
|
Pengyu Lv
|
0f5ca2dc87
|
Add rules to generate test-int-ca{2,3}.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:31:30 +08:00 |
|
Pengyu Lv
|
465c6eb371
|
Update test-ca2_cat-*.crt and test-ca_cat*.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:31:30 +08:00 |
|
Pengyu Lv
|
b8f15a66c8
|
Update server6.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:31:29 +08:00 |
|
Pengyu Lv
|
0c0f84e54f
|
Update test-ca[1|2].crt[.der]
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-06 10:31:14 +08:00 |
|
Gilles Peskine
|
84b547b5ee
|
Merge pull request #7400 from AndrzejKurek/cert-write-sans
Add a possibility to generate certificates with a Subject Alternative Name
|
2023-06-05 15:38:38 +02:00 |
|
Pengyu Lv
|
21e5939479
|
Generate PEM pub key directly from DER prv key
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-06-05 17:40:15 +08:00 |
|
Pengyu Lv
|
d1200ee2e8
|
Fix invalid commands for ec_x{25519,448}_{prv,pub}.{der,pem}
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-31 10:43:10 +08:00 |
|
Pengyu Lv
|
0f704b094b
|
Update server5[-der*|-sha*].crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Pengyu Lv
|
467deeffbb
|
Add rules to generate test-ca2_cat-*.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Pengyu Lv
|
309d434f94
|
Add rules to generate server10*.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Pengyu Lv
|
44c42fe303
|
Add rules to generate server8*.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Pengyu Lv
|
2d5e6aecdf
|
Add rules to generate server7*.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Jerry Yu
|
964ddb5cb4
|
Add rules to generate server6.crt
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Jerry Yu
|
540b0220a0
|
Add rules to generate server5-sha*.crt
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Jerry Yu
|
460b6cf0ba
|
Add server5-der*crt generate command
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Jerry Yu
|
b7b40b494d
|
Add rules to generate server5[-badsign].crt
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Pengyu Lv
|
543d912495
|
Update server3.crt and server4.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Pengyu Lv
|
f31d18a52b
|
Add rules to generate server4.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Pengyu Lv
|
cd61b740c5
|
Add rules to generate server3.crt
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Pengyu Lv
|
6f804693e5
|
Fix wrong target names in the Makefile in tests/data_files
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Pengyu Lv
|
491c64cd37
|
Mark all_intermediate as intermediate files
Signed-off-by: Pengyu Lv <pengyu.lv@arm.com>
|
2023-05-29 20:55:40 +08:00 |
|
Jerry Yu
|
bffe31cbfb
|
change path of mbedtls_x509_crl_parse input data
- Move data_files/crl-malformed-trailing-spaces.pem->data_files/parse_input/crl-malformed-trailing-spaces.pem
- Move data_files/crl-idp.pem->data_files/parse_input/crl-idp.pem
- Move data_files/crl-idpnc.pem->data_files/parse_input/crl-idpnc.pem
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2023-05-29 17:28:45 +08:00 |
|
Jerry Yu
|
87f647776b
|
change path of mbedtls_x509_csr_parse_file input data
- Move data_files/test_csr_v3_all_malformed_attributes_sequence_tag.csr.der->data_files/parse_input/test_csr_v3_all_malformed_attributes_sequence_tag.csr.der
- Move data_files/test_csr_v3_all_malformed_attributes_id_tag.csr.der->data_files/parse_input/test_csr_v3_all_malformed_attributes_id_tag.csr.der
- Move data_files/test_csr_v3_all_malformed_attributes_extension_request.csr.der->data_files/parse_input/test_csr_v3_all_malformed_attributes_extension_request.csr.der
- Move data_files/test_csr_v3_all_malformed_attributes_extension_request_set_tag.csr.der->data_files/parse_input/test_csr_v3_all_malformed_attributes_extension_request_set_tag.csr.der
- Move data_files/test_csr_v3_all_malformed_attributes_extension_request_sequence_tag.csr.der->data_files/parse_input/test_csr_v3_all_malformed_attributes_extension_request_sequence_tag.csr.der
- Move data_files/test_csr_v3_all_malformed_attributes_len1.csr.der->data_files/parse_input/test_csr_v3_all_malformed_attributes_len1.csr.der
- Move data_files/test_csr_v3_all_malformed_attributes_len2.csr.der->data_files/parse_input/test_csr_v3_all_malformed_attributes_len2.csr.der
- Move data_files/test_csr_v3_all_malformed_attributes_extension_request_sequence_len1.csr.der->data_files/parse_input/test_csr_v3_all_malformed_attributes_extension_request_sequence_len1.csr.der
- Move data_files/test_csr_v3_all_malformed_attributes_extension_request_sequence_len2.csr.der->data_files/parse_input/test_csr_v3_all_malformed_attributes_extension_request_sequence_len2.csr.der
- Move data_files/test_csr_v3_all_malformed_extensions_sequence_tag.csr.der->data_files/parse_input/test_csr_v3_all_malformed_extensions_sequence_tag.csr.der
- Move data_files/test_csr_v3_all_malformed_extension_id_tag.csr.der->data_files/parse_input/test_csr_v3_all_malformed_extension_id_tag.csr.der
- Move data_files/test_csr_v3_all_malformed_extension_data_tag.csr.der->data_files/parse_input/test_csr_v3_all_malformed_extension_data_tag.csr.der
- Move data_files/test_csr_v3_all_malformed_extension_data_len1.csr.der->data_files/parse_input/test_csr_v3_all_malformed_extension_data_len1.csr.der
- Move data_files/test_csr_v3_all_malformed_extension_data_len2.csr.der->data_files/parse_input/test_csr_v3_all_malformed_extension_data_len2.csr.der
- Move data_files/test_csr_v3_all_malformed_extension_key_usage_bitstream_tag.csr.der->data_files/parse_input/test_csr_v3_all_malformed_extension_key_usage_bitstream_tag.csr.der
- Move data_files/test_csr_v3_all_malformed_extension_subject_alt_name_sequence_tag.csr.der->data_files/parse_input/test_csr_v3_all_malformed_extension_subject_alt_name_sequence_tag.csr.der
- Move data_files/test_csr_v3_all_malformed_extension_ns_cert_bitstream_tag.csr.der->data_files/parse_input/test_csr_v3_all_malformed_extension_ns_cert_bitstream_tag.csr.der
- Move data_files/test_csr_v3_all_malformed_duplicated_extension.csr.der->data_files/parse_input/test_csr_v3_all_malformed_duplicated_extension.csr.der
- Move data_files/test_csr_v3_all_malformed_extension_type_oid.csr.der->data_files/parse_input/test_csr_v3_all_malformed_extension_type_oid.csr.der
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2023-05-29 17:28:45 +08:00 |
|