Reviewed: https://reviews.mahara.org/c/mahara/+/13264 Committed: https://git.mahara.org/mahara/mahara/commit/7b44bbae33ac59738a961200ead8c18f78b43c2f Submitter: "Robert Lyon <robe...@catalyst.net.nz>" Branch: main
commit 7b44bbae33ac59738a961200ead8c18f78b43c2f Author: Andrew Nicols <and...@nicols.co.uk> 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 -- 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 _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp