- fixed the Unix executable install path
- fixed the hardcoded "pkcs11" engine id
- fixed building with MinGW
- fixed testing with the python3 distributed with Ubuntu 18.04
- migrated the build system from GNU Autoconf to CMake
- added the "-h" option to set the cryptographic hash function for the "attach -signature" and "add" commands
- set the default hash function to "sha256"
- added the "attach-signature" option to compute and compare the leaf certificate hash for the "add" command
- renamed the "-st" option "-time" (the old name is accepted for compatibility)
- updated the "-time" option to also set explicit verification time
- added the "-ignore-timestamp" option to disable timestamp server signature verification
- removed the "-timestamp-expiration" option
- fixed several bugs
- updated the included documentation
- enabled additional compiler/linker hardening options
- added CI based on GitHub Actions
CRITICAL SECURITY VULNERABILITIES
This release fixes several critical memory corruption vulnerabilities. A malicious attacker could create a file, which, when processed with osslsigncode, triggers arbitrary code execution. Any previous version of osslsigncode should be immediately upgraded if the tool is used for processing of untrusted files.
- fixed several memory safety issues
- fixed non-interactive PVK (MSBLOB) key decryption
- added a bash completion script
- added CA bundle path auto-detection
- CAT files support (thanks to James McKenzie)
- MSI support rewritten without libgsf dependency, which allows for handling of all the needed MSI metadata, such as dates
- "-untrusted" option renamed to "-TSA-CAfile"
- "-CRLuntrusted" option renamed to "-TSA-CRLfile"
- numerous bug fixes and improvements
- certificate chain verification support
- timestamp verification support
- CRL verification support ("-CRLfile" option)
- improved CAB signature support
- nested signatures support
- user-specified signing time ("-st" option) by vszakats
- added more tests
- fixed numerous bugs
- dropped OpenSSL 1.1.0 support
- orphaned project adopted by Michał Trojnara
- ported to OpenSSL 1.1.x
- ported to SoftHSM2
- add support for pkcs11-based hardware tokens (Patch from Leif Johansson)
- improved error reporting of timestamping errors (Patch from Carlo Teubner)
- MSI: added -add-msi-dse option (Patch from Mikkel Krautz)
- MSI: fix build when GSF_CAN_READ_MSI_METADATA defined (Patch from Mikkel Krautz)
- add support for nested signatures (Patch from Mikkel Krautz)
- fix compilation problem with OpenSSL < 1.0.0
- added OpenSSL linkage exception to license
- add support for reading password from file
- add support for asking for password (on systems that provide support for it)
- add support for compiling and running on Windows (Patch from Heiko Hund)
- fix compilation without curl (Fix from Heiko Hund)
- added support for giving multiple timestamp servers as arguments (first one that succeeds will be used)
- signatures on hierarchical MSI files were broken (Fix from Mikkel Krautz)
- MSI: Add support for MsiDigitalSignatureEx signature (Patch from Mikkel Krautz)
- add support for adding additional/cross certificates through -ac option (Thanks to Lars Munch for idea + testing)
- MSI: Add support for signature extract/remove/verify (Patches from Mikkel Krautz)
- PE/MSI: Implement -require-leaf-hash for verify. (Patch from Mikkel Krautz)
- added support for signing with SHA-384 and SHA-512
- added support for page hashing (-ph option)
- forgot to bump version number...
- added support for signing MSI files (patch from Marc-André Lureau)
- calculate correct PE checksum instead of setting it to 0 (patch from Roland Schwingel)
- added support for RFC3161 timestamping (-ts option)
- added support for extracting/removing/verifying signature on PE files
- fixed problem with not being able to decode timestamps with no newlines
- added stricter checks for PE file validity
- added support for reading keys from PVK files (requires OpenSSL 1.0.0 or later)
- added support for reading certificates from PEM files
- renamed program option: -spc to -certs (old option name still valid)
- improved build system (patch from Alon Bar-Lev)
- support reading cert+key from PKCS12 file (patch from Alon Bar-Lev)
- support reading key from PEM file
- added support for sha1/sha256 - default hash is now sha1
- added flag for commercial signing (default is individual)
- support signing of 64-bit executables (fix from Paul Kendall)
- fixed padding problem (fix from Ryan Rubley)
- allow signing of already signed files (fix from Ryan Rubley)
- added Ryan Rubley's PVK-to-DER guide into the README
- autoconf:ed (Thanks to Roy Keene)
- added documentation
- don't override PKCS7_get_signed_attribute, it wasn't actually needed, it was me being confused.
- compiles without curl, which means no timestamping
- version number output
- Initial release