Commit Graph

  • 7285778cb0 Use X509_LOOKUP_load_file() to load certificates with a lookup using the implementation X509_LOOKUP_file() olszomal 2023-12-01 09:58:33 +01:00
  • c909ba82d7 tests: fixed string formatting in Python version earlier than 2.6 olszomal 2023-11-22 09:26:31 +01:00
  • 7b60d6447d tests: initialize resp_data olszomal 2023-11-22 09:12:13 +01:00
  • 588a1a0b5f Use default certificates when the HTTP server fails olszomal 2023-11-21 15:54:02 +01:00
  • 8a9b275494 Fixed unmap_file() segmentation fault olszomal 2023-11-21 09:39:52 +01:00
  • 0db17be606 Listing each member of the CAT file olszomal 2023-11-20 15:10:24 +01:00
  • f9ad19d4a2 Signature index presentation olszomal 2023-11-14 09:35:44 +01:00
  • b9ca24d423 Check MsiDigitalSignatureEx olszomal 2023-11-14 09:30:26 +01:00
  • 8d2b562244 Group warnings for CAT files olszomal 2023-11-13 14:59:13 +01:00
  • 6f4e9ab597 Fix dereference after null check, CID 1570976 olszomal 2023-11-13 14:54:59 +01:00
  • 6d6270094e Simplify unlinking outfile olszomal 2023-11-13 10:23:59 +01:00
  • 57563716d1 Enable x mode modifier if available olszomal 2023-11-09 11:38:22 +01:00
  • 8ab8a133f7 Overwriting an existing file is not supported olszomal 2023-11-08 15:44:17 +01:00
  • ef5047038e Delete the output file in case of error olszomal 2023-11-07 13:17:37 +01:00
  • e290e03341 tests: Add more tests for catalog files. olszomal 2023-11-03 09:46:59 +01:00
  • 900ffed596 Enable verification that a catalog file was signed by a valid certificate. Simplify setting and signing a content blob. Clean up a support library. olszomal 2023-11-03 09:31:22 +01:00
  • 33253afb5e Remove unneeded variables Michał Trojnara 2023-10-17 17:10:28 +02:00
  • 3aba55e5e0 Code simplification Michał Trojnara 2023-10-17 16:58:57 +02:00
  • 898a53b2a7 Create a certificate chain sorted in ascending order by DER encoding olszomal 2023-10-17 14:50:42 +02:00
  • 75ce1dadf5 Add missing dependencies for install in fresh ubuntu Joe Tylka 2023-10-06 17:47:08 -04:00
  • 4166476030 Initial Dockerfile Michał Trojnara 2023-10-09 17:24:22 +02:00
  • a5690f2d19 Fixed resource leak, CID 1566947, 1566965, 1566967, 1568542, 1568543 olszomal 2023-10-09 15:45:10 +02:00
  • cdb75578e9 fixed windows segmentation fault olszomal 2023-10-06 14:20:03 +02:00
  • e2ab4a152d improved verify callbacks olszomal 2023-10-05 09:53:41 +02:00
  • b8e690f3bd Work around a GitHub Actions regression Michał Trojnara 2023-10-06 17:58:37 +02:00
  • c89d6b43aa description of built-in TSA options olszomal 2023-09-25 13:54:43 +02:00
  • 9faed39931 Add builtin-baseline Michał Trojnara 2023-09-20 15:00:49 +02:00
  • ecb17709fc Initial 2.8-dev commit Michał Trojnara 2023-09-19 22:03:02 +02:00
  • 9ebd79ad18 Release 2.7 2.7 Michał Trojnara 2023-09-19 21:51:05 +02:00
  • 1700455533
    APPX support (#303) Michał Trojnara 2023-09-19 21:23:32 +02:00
  • a6f767f5a3 Mark the result as not tainted Michał Trojnara 2023-09-08 14:09:53 +02:00
  • 4c5b329bc4 fixed mixed declarations and code olszomal 2023-09-07 11:54:31 +02:00
  • 5626482e82 fixed a function declaration with a void parameter olszomal 2023-09-07 11:51:14 +02:00
  • 2d21a2121c squash gcc debugger warnings olszomal 2023-08-29 08:14:11 +02:00
  • 5d2bf2c80f Fix insufficient MSI_ENTRY comparison Michał Trojnara 2023-09-04 16:10:15 +02:00
  • 5b8376ce32 Fix construction of signed CAB header Michael Brown 2023-08-30 13:53:40 +01:00
  • 1fc2c937f2 Secrets are not available in PRs Michał Trojnara 2023-08-25 09:49:10 +02:00
  • 2ed54490a6 Use TS_TST_INFO struct olszomal 2023-07-31 14:13:30 +02:00
  • a096aa8a33 Set signing digest to generate RFC3161 response olszomal 2023-07-31 09:41:56 +02:00
  • aa08566a63 Use TS_REQ struct olszomal 2023-07-31 09:36:35 +02:00
  • c04b229ce2
    Built-in TSA response generation (#281) Małgorzata Olszówka (she/her) 2023-07-28 16:03:04 +02:00
  • adcfd9a33f Apply suggestions from code review Michał Trojnara 2023-07-21 11:27:44 +02:00
  • f2f3a8891c Fixed validation of supported command Maxim Bagryantsev 2023-06-18 16:02:31 +04:00
  • 29eedf9059 Fixed DIFAT sectors writing olszomal 2023-06-26 15:23:40 +02:00
  • d6f94d71f7 doc: correct minimum CMake version in README.md fanquake 2023-05-30 13:55:05 +01:00
  • a509a66c65 Initial 2.7-dev commit Michał Trojnara 2023-05-30 17:23:46 +02:00
  • 7bf4c92d83 Fixed CI version Michał Trojnara 2023-05-29 23:25:42 +02:00
  • 0a0fdfe96a Release 2.6 2.6 Michał Trojnara 2023-05-29 23:10:39 +02:00
  • 199f2b4586 Check X509_ATTRIBUTE_get0_data() return value olszomal 2023-05-26 13:27:10 +02:00
  • a92c4a5522 Do not return corrupted CMS_ContentInfo olszomal 2023-05-26 13:22:12 +02:00
  • dc44ed5f5b Fix CFFOLDER hashing olszomal 2023-05-26 10:31:37 +02:00
  • c6990878c2 Check the length of the attribute certificate entry olszomal 2023-05-25 14:59:28 +02:00
  • abbbfabdc7 Move some functions from common to main code olszomal 2023-05-15 12:56:35 +02:00
  • 2a4b75842a Add connection logging olszomal 2023-05-15 12:27:59 +02:00
  • 56e7a72e8a
    Fix timestamping nested signatures (#266) yjh-styx 2023-05-14 23:32:56 +03:00
  • b61bcaac2e
    Added DIFAT sectors support (#265) Max Bagryantsev 2023-05-14 22:33:57 +04:00
  • 924af9e783 Remove duplicated CURLcode error code olszomal 2023-05-08 15:01:12 +02:00
  • cb80c7d188 Initialize indata variable olszomal 2023-05-08 14:41:54 +02:00
  • 76bb06bf7e Squash unused parameter warning olszomal 2023-05-08 14:37:12 +02:00
  • 4b6027a4f7 Fix CURLINFO_RESPONSE_CODE olszomal 2023-05-08 14:32:58 +02:00
  • de6a65cc67 Fix github workflows olszomal 2023-05-08 13:22:06 +02:00
  • c90166ba8d Fix cTest script olszomal 2023-05-08 13:21:14 +02:00
  • b00ceee310 Tests: add port argument to python HTTP server olszomal 2023-05-08 13:20:04 +02:00
  • 54e61cb76a New CMakeTest script olszomal 2023-04-28 15:56:28 +02:00
  • fb731f2b5e Use indentations olszomal 2023-04-28 15:55:18 +02:00
  • eec5a0755d Tests: new HTTP server and client olszomal 2023-04-28 15:52:06 +02:00
  • 41d98c3917 Tests: fix openssl configuration files and makecerts bash script to set X509v3 CRL Distribution Points extension olszomal 2023-04-28 15:50:34 +02:00
  • 7fa0b21ddd Tests: new certificates with X509v3 CRL Distribution Points extension olszomal 2023-04-28 15:44:06 +02:00
  • e0eb331baf
    Postpone stripping old signature after it is extracted (#260) yjh-styx 2023-04-28 12:59:07 +03:00
  • 7bb21c3539 Tests: generate new certificates and keys olszomal 2023-04-04 14:54:00 +02:00
  • edcb18d63f Tests: use TSA-CRLfile olszomal 2023-04-04 14:52:30 +02:00
  • 3d7b8d2a21 Get Certificate Revocation List from a CRL distribution point olszomal 2023-03-29 11:41:47 +02:00
  • 7bfe3b5db9 Fix update_data_size() olszomal 2023-03-29 15:06:15 +02:00
  • dd365d68c4 Calculate padding length olszomal 2023-03-29 14:05:03 +02:00
  • 09555e8c05 Inspect PE attribute certificate table olszomal 2023-03-29 13:54:26 +02:00
  • e4aa06f0c0 Check PE checksum olszomal 2023-03-29 13:46:56 +02:00
  • 46e9ee447f Fix pagehash resource leak, CID 1536895 olszomal 2023-03-29 08:35:31 +02:00
  • 3e7247d9dc Fix pe_page_hash_get(), CID 1536895, 1536897 olszomal 2023-03-27 13:28:49 +02:00
  • d2f1b9c035 Fix leafhash resource leak, CID 1536899 olszomal 2023-03-27 09:52:18 +02:00
  • 4199310cdf Fix indata resource leak, CID 1536896 olszomal 2023-03-27 09:57:17 +02:00
  • 0204d04a25 Stop using tabs for indentation Michał Trojnara 2023-03-25 23:39:52 +01:00
  • 246f0abbfc Optional CMake parameters olszomal 2023-03-20 15:07:49 +01:00
  • 0f51a06b8f
    Separate common and format-dependent functions (#241) Małgorzata Olszówka 2023-03-25 20:32:58 +01:00
  • 44a6768089 Avoid link failures on Darwin when AppleClang not matched (#246) Charles Duffy 2023-03-13 14:46:04 -05:00
  • 93f5f800d6 Fix resource leak, CID 1535262 olszomal 2023-02-27 08:40:05 +01:00
  • 4db6ed0cad Fix memory leak olszomal 2023-02-24 14:55:11 +01:00
  • 32b65659be Use big/little-endian conversion in pe_calc_realchecksum() olszomal 2023-02-08 14:44:50 +01:00
  • 8e74a05b40 msi_calc_digest() with FILE_HEADER parameter olszomal 2023-02-08 10:19:10 +01:00
  • 83e47e0252 Specify the maximum NumberOfSections value olszomal 2023-02-07 14:36:44 +01:00
  • 41e6042c26 Specify the maximum SizeOfOptionalHeader value olszomal 2023-02-07 14:29:43 +01:00
  • 33c1fdaa85 Remove wrong type casting olszomal 2023-02-07 13:59:02 +01:00
  • 11eb76d4f3 Use bio_hash_data() to compute a message digest value of a CAB file olszomal 2023-02-07 12:41:41 +01:00
  • b0391244a6 New function bio_hash_data() olszomal 2023-02-07 12:22:13 +01:00
  • 83f6ceeaea Fix compiler warnings olszomal 2023-02-07 10:37:01 +01:00
  • b96a7a2232 Use BIO_f_md instead of EVP_MD_CTX to compute a message digest value of the PE and CAB file olszomal 2023-02-07 10:26:36 +01:00
  • ff8034af2e Use BIO_f_md instead of EVP_MD_CTX to compute a message digest value of the MSI file olszomal 2023-02-07 10:17:45 +01:00
  • bde67ec1e2 Use BIO_f_md instead of EVP_MD_CTX to calculate timestamp, page hash and leaf hash olszomal 2023-02-06 09:47:31 +01:00
  • c5ad70d31a Fix asn1_get_time_t timezone offset Julien Cristau 2023-02-08 15:58:24 +01:00
  • 27a2a2bfa3 Install Xcode Michał Trojnara 2023-02-22 16:35:35 +01:00
  • 827f167f8b Fix default command "sign" olszomal 2023-02-21 09:16:37 +01:00