public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Artur Frenszek-Iwicki <fedora@svgames.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/php-phpseclib3] f43: Update to v3.0.56
Date: Wed, 12 Aug 2026 11:07:37 GMT [thread overview]
Message-ID: <178653285780.1.17569469124554585535.rpms-php-phpseclib3-c6b9cbd75835@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php-phpseclib3
Branch : f43
Commit : c6b9cbd75835e5abf4eb2aa4ec70c5f9d5985e58
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date : 2026-08-12T13:06:24+02:00
Stats : +36/-2 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/php-phpseclib3/c/c6b9cbd75835e5abf4eb2aa4ec70c5f9d5985e58?branch=f43
Log:
Update to v3.0.56
---
diff --git a/.gitignore b/.gitignore
index f18cb01..f6e1810 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,3 +46,4 @@ clog
/php-phpseclib3-3.0.43.zip
/php-phpseclib3-3.0.44.zip
/php-phpseclib3-3.0.50.zip
+/php-phpseclib3-3.0.56.zip
diff --git a/0000-openssl-error-handling.patch b/0000-openssl-error-handling.patch
new file mode 100644
index 0000000..eb91cf8
--- /dev/null
+++ b/0000-openssl-error-handling.patch
@@ -0,0 +1,25 @@
+From 2511e02d499956c6f58a6477649c7808e2d7e075 Mon Sep 17 00:00:00 2001
+From: terrafrost <terrafrost@gmail.com>
+Date: Mon, 10 Aug 2026 08:05:40 -0500
+Subject: [PATCH] RSA: fix for openssl_verify calls that error out
+
+---
+ phpseclib/Crypt/RSA.php | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/phpseclib/Crypt/RSA.php b/phpseclib/Crypt/RSA.php
+index 709ef6a07..22ca19b6b 100644
+--- a/phpseclib/Crypt/RSA.php
++++ b/phpseclib/Crypt/RSA.php
+@@ -1069,7 +1069,10 @@ protected function handleOpenSSL($func, $message, $signature = null)
+ restore_error_handler();
+ }
+
+- if ($func === 'openssl_verify' && $result !== -1 && $result !== false) {
++ if ($func === 'openssl_verify') {
++ if ($result === -1 || $result === false) {
++ throw new BadConfigurationException('Engine OpenSSL is forced but was unable to verify signature because of ' . openssl_error_string());
++ }
+ return (bool) $result;
+ }
+ if ($result) {
diff --git a/php-phpseclib3.spec b/php-phpseclib3.spec
index d1de6b6..a93c5a1 100644
--- a/php-phpseclib3.spec
+++ b/php-phpseclib3.spec
@@ -5,7 +5,7 @@
%global github_name phpseclib
%bcond_without tests
-Version: 3.0.50
+Version: 3.0.56
Release: 1%{?dist}
%global vmajor %(v="%{version}"; v=(${v//./ }); echo "${v[0]}")
@@ -18,6 +18,9 @@ Source0: %{name}-%{version}.zip
# Generate a full archive from git tag, with tests
Source2: makesrc.sh
+# https://github.com/phpseclib/phpseclib/issues/2161
+Patch0: 0000-openssl-error-handling.patch
+
BuildArch: noarch
%global php_min_version 5.6.1
@@ -102,6 +105,8 @@ rm tests/Unit/Crypt/EC/CurveTest.php
php tests/make_compatible_with_phpunit7.php
php tests/make_compatible_with_phpunit9.php
+export OPENSSL_ENABLE_SHA1_SIGNATURES=1
+
# from travis/run-phpunit.sh
# testAuthorityInfoAccess fails without internet access
# testCurveExistance as we remove some files
@@ -118,6 +123,9 @@ php -d memory_limit=1G %{phpunit_bin} \
%changelog
+* Wed Aug 12 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.0.56-1
+- Update to v3.0.56
+
* Sat Mar 21 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.0.50-1
- Update to v3.0.50
diff --git a/sources b/sources
index e8fdc85..379c2f3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (php-phpseclib3-3.0.50.zip) = d867a05b9462a049ee6d0d5f055c60d703779160b043098844a687554ba2f5b7587ac4c7b108fa0404e7f72f0773e18623cbb6b19aa278aaf404a6b94ff8e33f
+SHA512 (php-phpseclib3-3.0.56.zip) = fbbe02dcfe50c08047eb7aaf1e38b2389de623c3369af2e408c6166fb2e51159a04b98afe1cf5e2bdd7fe46c609c97fb9018c36caade5ebf731f388800e6c30a
reply other threads:[~2026-08-12 11:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178653285780.1.17569469124554585535.rpms-php-phpseclib3-c6b9cbd75835@fedoraproject.org \
--to=fedora@svgames.pl \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox