From f4dcb19cbb93dfa25287e9f448561e4b1dd71246 Mon Sep 17 00:00:00 2001 From: Thomas Legay Date: Wed, 15 Jul 2026 21:56:41 +0200 Subject: [PATCH] up to V7 by claude --- composer.json | 2 +- composer.lock | 118 ++++++++++++++++++++++++++++++++++++++++---------- config.xml | 5 ++- readme.md | 8 ++++ 4 files changed, 106 insertions(+), 27 deletions(-) diff --git a/composer.json b/composer.json index 3fb4b66..b5812fb 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,6 @@ "name": "janmenzel/auth-openid-connect", "description": "OpenID Connect Authentication Plugin for LimeSurvey.", "require": { - "jumbojett/openid-connect-php": "^0.9.2" + "jumbojett/openid-connect-php": "^1.0" } } diff --git a/composer.lock b/composer.lock index f1f23dc..84b65f3 100644 --- a/composer.lock +++ b/composer.lock @@ -4,32 +4,32 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5a77e3f7514af37ab2cc45f723766326", + "content-hash": "0915c1ae7413e64729f197c0992096db", "packages": [ { "name": "jumbojett/openid-connect-php", - "version": "v0.9.2", + "version": "v1.0.2", "source": { "type": "git", "url": "https://github.com/jumbojett/OpenID-Connect-PHP.git", - "reference": "4f95102af87f86c43e8191ec6e90d9f35ed1ce5f" + "reference": "f327e7eb0626d55ddb6abc7b7c9e6ad3af4e5d51" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jumbojett/OpenID-Connect-PHP/zipball/4f95102af87f86c43e8191ec6e90d9f35ed1ce5f", - "reference": "4f95102af87f86c43e8191ec6e90d9f35ed1ce5f", + "url": "https://api.github.com/repos/jumbojett/OpenID-Connect-PHP/zipball/f327e7eb0626d55ddb6abc7b7c9e6ad3af4e5d51", + "reference": "f327e7eb0626d55ddb6abc7b7c9e6ad3af4e5d51", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", - "paragonie/random_compat": ">=2", - "php": ">=5.4", - "phpseclib/phpseclib": "~2.0" + "php": ">=7.0", + "phpseclib/phpseclib": "^3.0.7" }, "require-dev": { - "phpunit/phpunit": "^4.8", - "roave/security-advisories": "dev-master" + "phpunit/phpunit": "<10", + "roave/security-advisories": "dev-latest", + "yoast/phpunit-polyfills": "^2.0" }, "type": "library", "autoload": { @@ -44,9 +44,78 @@ "description": "Bare-bones OpenID Connect client", "support": { "issues": "https://github.com/jumbojett/OpenID-Connect-PHP/issues", - "source": "https://github.com/jumbojett/OpenID-Connect-PHP/tree/v0.9.2" + "source": "https://github.com/jumbojett/OpenID-Connect-PHP/tree/v1.0.2" }, - "time": "2020-11-16T14:48:22+00:00" + "time": "2024-09-13T07:08:11+00:00" + }, + { + "name": "paragonie/constant_time_encoding", + "version": "v3.1.3", + "source": { + "type": "git", + "url": "https://github.com/paragonie/constant_time_encoding.git", + "reference": "d5b01a39b3415c2cd581d3bd3a3575c1ebbd8e77" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/d5b01a39b3415c2cd581d3bd3a3575c1ebbd8e77", + "reference": "d5b01a39b3415c2cd581d3bd3a3575c1ebbd8e77", + "shasum": "" + }, + "require": { + "php": "^8" + }, + "require-dev": { + "infection/infection": "^0", + "nikic/php-fuzzer": "^0", + "phpunit/phpunit": "^9|^10|^11", + "vimeo/psalm": "^4|^5|^6" + }, + "type": "library", + "autoload": { + "psr-4": { + "ParagonIE\\ConstantTime\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com", + "role": "Maintainer" + }, + { + "name": "Steve 'Sc00bz' Thomas", + "email": "steve@tobtu.com", + "homepage": "https://www.tobtu.com", + "role": "Original Developer" + } + ], + "description": "Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)", + "keywords": [ + "base16", + "base32", + "base32_decode", + "base32_encode", + "base64", + "base64_decode", + "base64_encode", + "bin2hex", + "encoding", + "hex", + "hex2bin", + "rfc4648" + ], + "support": { + "email": "info@paragonie.com", + "issues": "https://github.com/paragonie/constant_time_encoding/issues", + "source": "https://github.com/paragonie/constant_time_encoding" + }, + "time": "2025-09-24T15:06:41+00:00" }, { "name": "paragonie/random_compat", @@ -100,27 +169,28 @@ }, { "name": "phpseclib/phpseclib", - "version": "2.0.33", + "version": "3.0.55", "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "fb53b7889497ec7c1362c94e61d8127ac67ea094" + "reference": "db9744e6d47e742b1f974e965ad49bdd041105af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/fb53b7889497ec7c1362c94e61d8127ac67ea094", - "reference": "fb53b7889497ec7c1362c94e61d8127ac67ea094", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/db9744e6d47e742b1f974e965ad49bdd041105af", + "reference": "db9744e6d47e742b1f974e965ad49bdd041105af", "shasum": "" }, "require": { - "php": ">=5.3.3" + "paragonie/constant_time_encoding": "^1|^2|^3", + "paragonie/random_compat": "^1.4|^2.0|^9.99.99", + "php": ">=5.6.1" }, "require-dev": { - "phing/phing": "~2.7", - "phpunit/phpunit": "^4.8.35|^5.7|^6.0|^9.4", - "squizlabs/php_codesniffer": "~2.0" + "phpunit/phpunit": "*" }, "suggest": { + "ext-dom": "Install the DOM extension to load XML formatted public keys.", "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", @@ -132,7 +202,7 @@ "phpseclib/bootstrap.php" ], "psr-4": { - "phpseclib\\": "phpseclib/" + "phpseclib3\\": "phpseclib/" } }, "notification-url": "https://packagist.org/downloads/", @@ -189,7 +259,7 @@ ], "support": { "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/2.0.33" + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.55" }, "funding": [ { @@ -205,7 +275,7 @@ "type": "tidelift" } ], - "time": "2021-08-16T04:20:12+00:00" + "time": "2026-06-14T23:24:10+00:00" } ], "packages-dev": [], @@ -216,5 +286,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.6.0" } diff --git a/config.xml b/config.xml index 8e407f4..2fa6442 100644 --- a/config.xml +++ b/config.xml @@ -4,16 +4,17 @@ AuthOpenIDConnect plugin 2020-02-17 - 2023-03-24 + 2026-07-15 Jan Menzel -> OliCha@Worteks https://github.com/Worteks/AuthOpenIDConnect - 1.0.1 + 1.1.0 GNU General Public License version 2 or later OpenID Connect authentication plugin for LimeSurvey 6.1 + 7.0 diff --git a/readme.md b/readme.md index 1972834..bd8867b 100644 --- a/readme.md +++ b/readme.md @@ -8,6 +8,14 @@ updated by olicha@worteks ## Updates updated the compatibility in the config.xml file +### 1.1.0 +- Added LimeSurvey 7 compatibility (config.xml) +- Upgraded jumbojett/openid-connect-php to ^1.0 (requires PHP >= 8.0, in line with LimeSurvey 7 which requires PHP >= 8.1) + +## Requirements +- LimeSurvey 6.1+ or 7.x +- PHP >= 8.0 + ## Install 1. Download the plugin.