Commit Graph

  • 3998bcabb2 Simplify BIO chain free up and FILE_FORMAT_CTX cleanup olszomal 2024-02-28 15:12:20 +01:00
  • fa40c57f80 Simplify checking whether a signature exists olszomal 2024-02-27 12:27:42 +01:00
  • 0b93a94ffa Fixed cross-signed root CA certificate olszomal 2024-02-27 16:31:17 +01:00
  • 105fd3af4a Fix handling of printf format specifiers olszomal 2024-02-27 09:57:34 +01:00
  • 86a594b087 NEWS.md entry for Microsoft PowerShell signing Michał Trojnara 2024-02-22 16:39:57 +01:00
  • 1dea73b038 Install python@3.8 on macOS required for the Github Actions CI olszomal 2024-02-21 13:46:32 +01:00
  • b661ed08ed Fix fuzzer error - corrupted data content olszomal 2024-02-20 15:07:14 +01:00
  • ead0584611 Disable curl dependence olszomal 2024-02-20 14:02:55 +01:00
  • bd7751147e Update Windows build documentation Michał Trojnara 2024-02-20 10:03:06 +01:00
  • 1bc7fc36b8 Connect to CRL Distribution Points through the configured proxy when verifying olszomal 2024-02-16 14:09:27 +01:00
  • 42e9733916 Fix python 3 compatibility in server_http.py (#350) Zeijlon (ThinLinc Team) 2024-02-16 12:39:48 +01:00
  • b2024cee9d Add -ignore-cdp option to help olszomal 2024-02-15 13:40:29 +01:00
  • 9d152b8477 Fix url resource leak, CID 1583652, 1583653 olszomal 2024-02-15 13:31:05 +01:00
  • 7a02d51a83 Print failed certificate chain retrieved from the signature olszomal 2024-02-15 12:27:40 +01:00
  • dac68a3a4d Disable CRL Distribution Points online verification olszomal 2024-02-15 12:12:24 +01:00
  • bd1ab77f44 Improve variable names and comments Michał Trojnara 2024-02-13 17:39:01 +01:00
  • 5ee859db2c Fixed out-of-bounds access, CID 1583604 olszomal 2024-02-13 11:43:06 +01:00
  • ee3c51f6d5 Check BIO_write_ex() return value, CID 1583605 olszomal 2024-02-12 13:43:12 +01:00
  • cedb8b5798 Print default -CAfile in "osslsigncode -v" Michał Trojnara 2024-02-12 12:28:27 +01:00
  • dcf58a00e7 Fixed getting content olszomal 2024-02-10 07:16:23 +01:00
  • 4576895718 Initial script (text) format support Michał Trojnara 2024-02-12 10:54:18 +01:00
  • 1bdcad619e Remove http proxy configuration that may change behavior olszomal 2024-02-06 15:36:43 +01:00
  • 31b046cf98 Fix dereference after null check, CID 1576008 olszomal 2024-01-24 09:01:23 +01:00
  • f3ac2c0c6f Fix resource leak, CID 1576007 olszomal 2024-01-24 08:58:53 +01:00
  • f22c83514c Simplify obtaining an existing signature and creating a new one olszomal 2024-01-23 15:13:21 +01:00
  • 44ca1f38e6 PKCS9_SEQUENCE_NUMBER authenticated attribute support olszomal 2024-01-22 14:00:48 +01:00
  • 0985c47990 Add a new "-index" option to enable verification or addition of attributes to the signature at a certain position olszomal 2024-01-19 14:31:15 +01:00
  • aa158e40ec Fix BIO memory leak olszomal 2024-01-10 15:30:48 +01:00
  • 5da62de5ef Fixed adding signing time olszomal 2024-01-05 14:38:59 +01:00
  • 4d08fbb2c1 Only use IPv4 127.0.0.1 for tests Michał Trojnara 2023-12-21 11:33:48 +01:00
  • 98b004edda Ignore garbage in PE sigpos/siglen Michał Trojnara 2023-12-20 11:16:06 +01:00
  • 34bf3bc525 tests for extract-data command olszomal 2023-12-19 13:02:03 +01:00
  • 64e1bba96b Add a new command extract-data to extract a PKCS#7 data content to be signed olszomal 2023-12-19 12:59:28 +01:00
  • 46bcaa9d88 Skip a null stream warning olszomal 2023-12-18 09:47:10 +01:00
  • 867e0d446d Fixed APPX file specific: attach-signature command olszomal 2023-12-18 09:35:04 +01:00
  • 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