olszomal
dc44ed5f5b
Fix CFFOLDER hashing
2023-05-26 15:07:03 +02:00
olszomal
c6990878c2
Check the length of the attribute certificate entry
2023-05-25 15:45:52 +02:00
olszomal
abbbfabdc7
Move some functions from common to main code
2023-05-23 19:07:00 +02:00
olszomal
2a4b75842a
Add connection logging
2023-05-23 19:07:00 +02:00
yjh-styx
56e7a72e8a
Fix timestamping nested signatures ( #266 )
2023-05-14 22:32:56 +02:00
Max Bagryantsev
b61bcaac2e
Added DIFAT sectors support ( #265 )
2023-05-14 20:33:57 +02:00
olszomal
924af9e783
Remove duplicated CURLcode error code
2023-05-09 21:14:19 +02:00
olszomal
cb80c7d188
Initialize indata variable
2023-05-09 21:14:19 +02:00
olszomal
76bb06bf7e
Squash unused parameter warning
2023-05-09 21:14:19 +02:00
olszomal
4b6027a4f7
Fix CURLINFO_RESPONSE_CODE
2023-05-09 21:14:19 +02:00
olszomal
de6a65cc67
Fix github workflows
2023-05-09 21:14:19 +02:00
olszomal
c90166ba8d
Fix cTest script
2023-05-09 21:14:19 +02:00
olszomal
b00ceee310
Tests: add port argument to python HTTP server
2023-05-09 21:14:19 +02:00
olszomal
54e61cb76a
New CMakeTest script
2023-05-01 11:59:06 +02:00
olszomal
fb731f2b5e
Use indentations
2023-05-01 11:59:06 +02:00
olszomal
eec5a0755d
Tests: new HTTP server and client
2023-05-01 11:59:06 +02:00
olszomal
41d98c3917
Tests: fix openssl configuration files and makecerts bash script to set X509v3 CRL Distribution Points extension
2023-05-01 11:59:06 +02:00
olszomal
7fa0b21ddd
Tests: new certificates with X509v3 CRL Distribution Points extension
2023-05-01 11:59:06 +02:00
yjh-styx
e0eb331baf
Postpone stripping old signature after it is extracted ( #260 )
2023-04-28 11:59:07 +02:00
olszomal
7bb21c3539
Tests: generate new certificates and keys
2023-04-16 10:43:24 +02:00
olszomal
edcb18d63f
Tests: use TSA-CRLfile
2023-04-16 10:43:24 +02:00
olszomal
3d7b8d2a21
Get Certificate Revocation List from a CRL distribution point
2023-04-16 10:43:24 +02:00
olszomal
7bfe3b5db9
Fix update_data_size()
2023-03-30 20:57:38 +02:00
olszomal
dd365d68c4
Calculate padding length
2023-03-30 20:57:38 +02:00
olszomal
09555e8c05
Inspect PE attribute certificate table
2023-03-30 20:57:38 +02:00
olszomal
e4aa06f0c0
Check PE checksum
2023-03-30 20:57:38 +02:00
olszomal
46e9ee447f
Fix pagehash resource leak, CID 1536895
2023-03-29 08:51:01 +02:00
olszomal
3e7247d9dc
Fix pe_page_hash_get(), CID 1536895, 1536897
2023-03-28 21:02:12 +02:00
olszomal
d2f1b9c035
Fix leafhash resource leak, CID 1536899
2023-03-28 21:00:42 +02:00
olszomal
4199310cdf
Fix indata resource leak, CID 1536896
2023-03-28 20:59:57 +02:00
Michał Trojnara
0204d04a25
Stop using tabs for indentation
2023-03-25 23:39:52 +01:00
olszomal
246f0abbfc
Optional CMake parameters
2023-03-25 20:34:25 +01:00
Małgorzata Olszówka
0f51a06b8f
Separate common and format-dependent functions ( #241 )
2023-03-25 20:32:58 +01:00
Charles Duffy
44a6768089
Avoid link failures on Darwin when AppleClang not matched ( #246 )
2023-03-14 14:37:24 +01:00
olszomal
93f5f800d6
Fix resource leak, CID 1535262
2023-02-28 08:27:46 +01:00
olszomal
4db6ed0cad
Fix memory leak
2023-02-26 21:12:07 +01:00
olszomal
32b65659be
Use big/little-endian conversion in pe_calc_realchecksum()
2023-02-26 21:12:07 +01:00
olszomal
8e74a05b40
msi_calc_digest() with FILE_HEADER parameter
2023-02-26 21:12:07 +01:00
olszomal
83e47e0252
Specify the maximum NumberOfSections value
2023-02-26 21:12:07 +01:00
olszomal
41e6042c26
Specify the maximum SizeOfOptionalHeader value
2023-02-26 21:12:07 +01:00
olszomal
33c1fdaa85
Remove wrong type casting
2023-02-26 21:12:07 +01:00
olszomal
11eb76d4f3
Use bio_hash_data() to compute a message digest value of a CAB file
2023-02-26 21:12:07 +01:00
olszomal
b0391244a6
New function bio_hash_data()
2023-02-26 21:12:07 +01:00
olszomal
83f6ceeaea
Fix compiler warnings
2023-02-26 21:12:07 +01:00
olszomal
b96a7a2232
Use BIO_f_md instead of EVP_MD_CTX to compute a message digest value of the PE and CAB file
2023-02-26 21:12:07 +01:00
olszomal
ff8034af2e
Use BIO_f_md instead of EVP_MD_CTX to compute a message digest value of the MSI file
2023-02-26 21:12:07 +01:00
olszomal
bde67ec1e2
Use BIO_f_md instead of EVP_MD_CTX to calculate timestamp, page hash and leaf hash
2023-02-26 21:12:07 +01:00
Julien Cristau
c5ad70d31a
Fix asn1_get_time_t timezone offset
...
mktime takes an input in local time, but what we have is UTC. timegm
does the right thing but is a nonstandard GNU and BSD extension, while
Windows has _mkgmtime.
2023-02-24 11:03:08 +01:00
Michał Trojnara
27a2a2bfa3
Install Xcode
2023-02-22 16:38:32 +01:00
olszomal
827f167f8b
Fix default command "sign"
2023-02-22 15:40:18 +01:00