mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #67590
[Bug 1993481] A change has been merged
Reviewed: https://reviews.mahara.org/c/mahara/+/13283
Committed: https://git.mahara.org/mahara/mahara/commit/20b9c47ba8bacb1d7b1bbccf697de2b5066a6d84
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch: 22.10_DEV
commit 20b9c47ba8bacb1d7b1bbccf697de2b5066a6d84
Author: Andrew Nicols <andrew@xxxxxxxxxxxx>
Date: Wed Oct 19 14:55:30 2022 +0800
Bug 1993481: openssl_get_publickey returns an OpenSSLAsymmetricKey
>From PHP 8.0 onwards, the return signature for openssl_get_publickey()
is an instance of OpenSSLAsymmetricKey.
This rudimentary check needs to change to cover this case too.
Also the openssl_*_free functions are deprecated for PHP 8.0 so we
should handle them correctly as well
Change-Id: Ife28896e86496cc7d61d4735565f13395a1140f6
(cherry picked from commit 7b44bbae33ac59738a961200ead8c18f78b43c2f)
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1993481
Title:
MNET pkey failure in PHP 8.0
Status in Mahara:
Fix Committed
Bug description:
auth/xmlrpc fails in xmlenc_envelope() for PHP 8.0 with the error:
Could not generate public key resource from certificate
This is because the return value for `openssl_get_publickey` is an
instance of `OpenSSLAsymmetricKey` from PHP 8.0 onwards.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1993481/+subscriptions
References