public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php-phpseclib3] f45: Update to v3.0.57
@ 2026-08-26 13:46 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-08-26 13:46 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php-phpseclib3
Branch : f45
Commit : e58ac70245a3d16ef802321dd16187af7b17970c
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-08-26T15:32:13+02:00
Stats  : +6/-30 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/php-phpseclib3/c/e58ac70245a3d16ef802321dd16187af7b17970c?branch=f45

Log:
Update to v3.0.57

---
diff --git a/.gitignore b/.gitignore
index fee2384..cf439bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -49,3 +49,4 @@ clog
 /php-phpseclib3-3.0.49.zip
 /php-phpseclib3-3.0.50.zip
 /php-phpseclib3-3.0.56.zip
+/php-phpseclib3-3.0.57.zip

diff --git a/0000-openssl-error-handling.patch b/0000-openssl-error-handling.patch
deleted file mode 100644
index eb91cf8..0000000
--- a/0000-openssl-error-handling.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-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 1d05d4b..fc65085 100644
--- a/php-phpseclib3.spec
+++ b/php-phpseclib3.spec
@@ -5,7 +5,7 @@
 %global github_name             phpseclib
 %bcond_without                  tests
 
-Version:    3.0.56
+Version:    3.0.57
 Release:    1%{?dist}
 %global vmajor %(v="%{version}"; v=(${v//./ }); echo "${v[0]}")
 
@@ -18,9 +18,6 @@ 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
@@ -114,6 +111,9 @@ php -d memory_limit=1G %{phpunit_bin} \
 
 
 %changelog
+* Wed Aug 26 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.0.57-1
+- Update to v3.0.57
+
 * Wed Aug 12 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.0.56-1
 - Update to v3.0.56
 

diff --git a/sources b/sources
index 379c2f3..d590af0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (php-phpseclib3-3.0.56.zip) = fbbe02dcfe50c08047eb7aaf1e38b2389de623c3369af2e408c6166fb2e51159a04b98afe1cf5e2bdd7fe46c609c97fb9018c36caade5ebf731f388800e6c30a
+SHA512 (php-phpseclib3-3.0.57.zip) = 6deb5b40965b705bb7bb38c8646136a38cd0ed237ca3e5a02895142b9232dc3f53f8af2a75261e0811275661858948e1ed3df0a8f3da67563418696059072bae

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26 13:46 [rpms/php-phpseclib3] f45: Update to v3.0.57 Artur Frenszek-Iwicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox