News Archive

SetaPDF Components Released in Version 2.45.0.19632024-07-09

This release ensures the handling of encrypted PDF documents with an incompatible setup of OpenSSL and PHP. While the installations of OpenSSL 3.0 are raising we encountered several customer environments on which this version is installed with PHP < 8.1 while this construct isn't supported by PHP. Sadly this construct doesn't throw or generate any error but some OpenSSL methods "lie" about supported ciphers which SetaPDF depends on (and the PDF format in general). If this situation is encountered SetaPDF will throw an exception now to give you the chance to repair your setup. This can be done by enabling legacy providers or by installing a compatible OpenSSL version.

It is also possible to bypass this check and force the use of a PHP implementation of the required legacy cipher (RC4/Arcfour) - keep in mind that this is slower.

Beside some new nice features in the SetaPDF-Signer componente we did a lot of code clean-up in view to data type consistency in all components.

Check the release notes of the components below.
Log in to download the latest version of the related packages!

switch product

Version 2.45.0.1963

Release date: 2024-07-09
SetaPDF-Core Component
Feature
  • Handle invalid OpenSSL and PHP version setup.
Bugfix
  • Fixed parsing of JPEG files with markers in compressed data.
Tweak
  • Optimized decoding in AsciiHex filter class.
  • Code style, doc-block optimizations and cleanup.
  • Added check for incompatible OpenSSL/PHP version environment and introduced SecHandler::$useArcfourFallback to force the usage of an Arcfour implementation in PHP.
  • Only handle exceptions of SetaPDF_Exception in SetaPDF_Core_Type_AbstractType::_ensureType() method.
  • Harden data types by using SetaPDF_Core_Type_*::ensureType() calls and explicit data type checks.
  • Optimized doc-blocks.