Skip to content

Update jsignpdf-php to v3.0.0 - #96

Merged
vitormattos merged 2 commits into
LibreSign:mainfrom
maia-andre:deps/jsignpdf-php-3.0.0
Sep 5, 2026
Merged

Update jsignpdf-php to v3.0.0#96
vitormattos merged 2 commits into
LibreSign:mainfrom
maia-andre:deps/jsignpdf-php-3.0.0

Conversation

@maia-andre

Copy link
Copy Markdown
Contributor

Updates jsignpdf/jsignpdf-php from v1.3.1 to v3.0.0 (LibreSign/libresign#8068).

The wrapper release adds support for JSignPdf 3.1.0: passwords are sent over stdin instead of the command line (--enable-stdin-passwords), every argument goes through escapeshellarg(), setJSignParameters() takes a list of options and values, and the runtime service installs the minimal package (a lib/ directory started through the classpath, with -jar kept as a fallback for 3.0.x). JSignPdf 2.x is no longer supported by the wrapper.

Regenerated scoped dependencies with the documented PHP-Scoper workflow. No scoper patcher was needed: the package has no string-based class references, and its only dependencies are ext-openssl and ext-json, so no other scoped package changed.

The LibreSign side (JSignPdfHandler, InstallService, tests) follows in a separate pull request for #8068: the handler still concatenates setJSignParameters() strings and points at JSignPdf.jar, so the submodule must be bumped together with those changes.

Validation: composer lint passed in the PHP 8.3 container; regenerating from the committed state with the steps of the Composer workflow produces no vendor changes.

Signed-off-by: Andr茅 Maia <andrefnkmm@gmail.com>
Assisted-by: Claude Code:claude-fable-5-1
Signed-off-by: Andr茅 Maia <andrefnkmm@gmail.com>
Assisted-by: Claude Code:claude-fable-5-1
@vitormattos
vitormattos merged commit 40a9894 into LibreSign:main Sep 5, 2026
6 checks passed
vitormattos pushed a commit to LibreSign/libresign that referenced this pull request Sep 5, 2026
Points the submodule at LibreSign/3rdparty#96, which bumps
jsignpdf/jsignpdf-php from 1.3.1 to 3.0.0 for JSignPdf 3.1.0. The pointer
will move to the merge commit once that pull request lands.

Signed-off-by: Andr茅 Maia <andrefnkmm@gmail.com>
Assisted-by: Claude Code:claude-fable-5-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants