Skip to content

build(deps): update phpseclib to 4.0.4 on stable35 - #152

Merged
vitormattos merged 2 commits into
stable35from
deps/phpseclib-4.0.4-stable35-20261122
Nov 22, 2026
Merged

vitormattos merged 2 commits into
stable35from
deps/phpseclib-4.0.4-stable35-20261122

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Purpose

Backport phpseclib 4.0.3 → 4.0.4 to LibreSign's stable35 scoped dependencies. The same version is already integrated on main.

The upstream 4.0.4 release includes RSA PKCS#1/SHA-3 fixes, ASN.1 parsing improvements, ChaCha20 updates, X.509 URL validation fixes, SSH2 key re-exchange hardening, SFTP timeout fixes and stricter symmetric-key password length validation.

Release: https://github.com/phpseclib/phpseclib/releases/tag/4.0.4

Change

Update only the phpseclib package in composer.lock using Composer 2.9 and --minimal-changes --no-install --no-scripts. No transitive package versions were changed. Changes to require-dev metadata in the lockfile reflect the published upstream package manifest.

composer validate --check-lock passed in an isolated checkout, with the existing missing-license warning only; composer audit --locked reported no known advisories for the resolved lockfile.

The commit is cryptographically signed using the Git Signing MCP and has DCO matching the author.

Workflow

  1. Run /composer-update on this PR to regenerate the scoped PHP-Scoper output; do not hand-edit generated code.
  2. Require full green source CI on the final HEAD.
  3. Create the corresponding LibreSign/libresign destination PR targeting stable35. After source merge, update the gitlink to the actual merged source SHA with a new signed and DCO-compliant commit.
  4. Merge the destination only after its required integration and signing tests succeed.

Follow the canonical procedure: https://github.com/LibreSign/documentation/blob/main/developer_manual/dependency-updates.rst

Backport the upstream 4.0.4 security and compatibility maintenance
release to stable35. Composer lockfile generated with minimal changes;
regenerate scoped vendor files through /composer-update.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>

Copy link
Copy Markdown
Member Author

/composer-update

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

✅ /composer-update completed

Published verified, DCO-signed commit. The updated PR checks must still pass before merge. Workflow.

Signed-off-by: librecode-workflow-automation[bot] <331658022+librecode-workflow-automation[bot]@users.noreply.github.com>

Copy link
Copy Markdown
Member Author

/libresign-pr

@vitormattos
vitormattos merged commit 8a3e1b5 into stable35 Nov 22, 2026
6 checks passed
@vitormattos
vitormattos deleted the deps/phpseclib-4.0.4-stable35-20261122 branch November 22, 2026 16:04

Copy link
Copy Markdown
Member Author

Linked LibreSign integration: LibreSign/libresign#9635. The source merge SHA is 8a3e1b5e42181c6ab6027291b978156e66ad5bf1; /update-3rdparty successfully updated the destination gitlink to this exact SHA in a cryptographically signed, DCO-compliant commit. The original /libresign-pr run created the signed PR but failed only at the optional source acknowledgment (HTTP 403). The feedback-token fix is in LibreCodeCoop/.github#131 and its consumer sync is 3rdparty#154. The destination CI must be green before merge.

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.

1 participant