27 Commits

Author SHA1 Message Date
olszomal bf209e0fc8 Refactor SpcIndirectDataContent parsing helpers 2026-05-26 17:27:46 +02:00
olszomal 68a6826cd1 Use ASN1_STRING and ASN1_INTEGER APIs instead of direct struct access 2026-05-26 17:27:46 +02:00
Antoni Klajn 09d3312fd9 Fixed integer overflow, integer underflow and Out-of-Bounds Read 2026-02-06 11:39:49 +01:00
Michał Trojnara cbee1e723c Fixed buffer overflow while extracting msg digest
Reported and fixed by Antoni Klajn, Opera
2026-02-02 17:37:45 +01:00
olszomal 842bd94aaf Remove duplicate certs from sorted X509 chain 2025-09-19 17:02:21 +02:00
Michał Trojnara ff9a6d3593 Check for invalid OID in is_content_type 2025-06-20 10:32:30 +02:00
olszomal 10ca3a06ea Suppress compiler warnings 2025-05-06 10:42:53 +02:00
olszomal 838aaaee8d libp11 PKCS#11 provider support 2025-03-28 14:05:12 +01:00
olszomal 3a8e25e5bb Added support for multiple OID types in signer info attribute 2024-12-17 17:27:50 +01:00
olszomal 2b3228d549 Changed error output to stderr instead of stdout 2024-06-05 16:54:21 +02:00
olszomal dcf58a00e7 Fixed getting content 2024-02-12 11:41:08 +01:00
Michał Trojnara 4576895718 Initial script (text) format support
See #37 for details.
2024-02-12 10:54:18 +01:00
olszomal f22c83514c Simplify obtaining an existing signature and creating a new one 2024-01-23 19:00:22 +01:00
olszomal 44ca1f38e6 PKCS9_SEQUENCE_NUMBER authenticated attribute support 2024-01-23 19:00:22 +01:00
olszomal aa158e40ec Fix BIO memory leak 2024-01-10 16:03:08 +01:00
olszomal 5da62de5ef Fixed adding signing time 2024-01-08 11:48:10 +01:00
olszomal 64e1bba96b Add a new command extract-data to extract a PKCS#7 data content to be signed 2023-12-19 13:07:19 +01:00
olszomal 867e0d446d Fixed APPX file specific: attach-signature command 2023-12-18 10:14:29 +01:00
olszomal 0db17be606 Listing each member of the CAT file 2023-11-20 17:20:03 +01:00
olszomal 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.
2023-11-07 14:56:48 +01:00
Michał Trojnara 33253afb5e Remove unneeded variables 2023-10-17 17:10:28 +02:00
Michał Trojnara 3aba55e5e0 Code simplification 2023-10-17 16:58:57 +02:00
olszomal 898a53b2a7 Create a certificate chain sorted in ascending order by DER encoding 2023-10-17 16:21:26 +02:00
Michał Trojnara 1700455533 APPX support (#303)
Co-authored-by: Maciej Panek <Maciej.panek@punxworks.com>
Co-authored-by: olszomal <Malgorzata.Olszowka@stunnel.org>
2023-09-19 21:23:32 +02:00
olszomal abbbfabdc7 Move some functions from common to main code 2023-05-23 19:07:00 +02:00
Michał Trojnara 0204d04a25 Stop using tabs for indentation 2023-03-25 23:39:52 +01:00
Małgorzata Olszówka 0f51a06b8f Separate common and format-dependent functions (#241) 2023-03-25 20:32:58 +01:00