Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions composer/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1220,12 +1220,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/Roave\/SecurityAdvisories.git",
"reference": "9b7194c760d0e851aa9cc2d74b226e1979b3c112"
"reference": "ccc4996aff4ff810b514472932f677753ee5d8a4"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/Roave\/SecurityAdvisories\/zipball\/9b7194c760d0e851aa9cc2d74b226e1979b3c112",
"reference": "9b7194c760d0e851aa9cc2d74b226e1979b3c112",
"url": "https:\/\/api.github.com\/repos\/Roave\/SecurityAdvisories\/zipball\/ccc4996aff4ff810b514472932f677753ee5d8a4",
"reference": "ccc4996aff4ff810b514472932f677753ee5d8a4",
"shasum": ""
},
"conflict": {
Expand Down Expand Up @@ -1967,7 +1967,7 @@
"symfony\/form": ">=2.3,<2.3.35|>=2.4,<2.6.12|>=2.7,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1",
"symfony\/framework-bundle": ">=2,<2.3.18|>=2.4,<2.4.8|>=2.5,<2.5.2|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7|>=5.3.14,<5.3.15|>=5.4.3,<5.4.4|>=6.0.3,<6.0.4",
"symfony\/http-client": ">=4.3,<5.4.47|>=6,<6.4.15|>=7,<7.1.8",
"symfony\/http-foundation": "<5.4.46|>=6,<6.4.14|>=7,<7.1.7",
"symfony\/http-foundation": "<5.4.50|>=6,<6.4.29|>=7,<7.3.7",
"symfony\/http-kernel": ">=2,<4.4.50|>=5,<5.4.20|>=6,<6.0.20|>=6.1,<6.1.12|>=6.2,<6.2.6",
"symfony\/intl": ">=2.7,<2.7.38|>=2.8,<2.8.31|>=3,<3.2.14|>=3.3,<3.3.13",
"symfony\/maker-bundle": ">=1.27,<1.29.2|>=1.30,<1.31.1",
Expand All @@ -1986,7 +1986,7 @@
"symfony\/security-guard": ">=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8",
"symfony\/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7|>=5.1,<5.2.8|>=5.3,<5.4.47|>=6,<6.4.15|>=7,<7.1.8",
"symfony\/serializer": ">=2,<2.0.11|>=4.1,<4.4.35|>=5,<5.3.12",
"symfony\/symfony": "<5.4.47|>=6,<6.4.15|>=7,<7.1.8",
"symfony\/symfony": "<5.4.50|>=6,<6.4.29|>=7,<7.3.7",
"symfony\/translation": ">=2,<2.0.17",
"symfony\/twig-bridge": ">=2,<4.4.51|>=5,<5.4.31|>=6,<6.3.8",
"symfony\/ux-autocomplete": "<2.11.2",
Expand Down Expand Up @@ -2167,7 +2167,7 @@
"zfr\/zfr-oauth2-server-module": "<0.1.2",
"zoujingli\/thinkadmin": "<=6.1.53"
},
"time": "2025-11-10T22:06:10+00:00",
"time": "2025-11-12T14:06:11+00:00",
"default-branch": true,
"type": "metapackage",
"notification-url": "https:\/\/packagist.org\/downloads\/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ public static function load($key, $password = '')
$result['hash'] = \str_replace('id-', '', $params['hashAlgorithm']['algorithm']);
$result['MGFHash'] = \str_replace('id-', '', $params['maskGenAlgorithm']['parameters']['algorithm']);
if (isset($params['saltLength'])) {
$result['saltLength'] = (int) $params['saltLength']->toString();
if (is_int($params['saltLength'])) {
$result['saltLength'] = $params['saltLength'];
} else {
$result['saltLength'] = (int) $params['saltLength']->toString();
}
}
if (isset($key['meta'])) {
$result['meta'] = $key['meta'];
Expand Down
2 changes: 1 addition & 1 deletion composer/phpseclib/phpseclib/phpseclib/File/X509.php
Original file line number Diff line number Diff line change
Expand Up @@ -2127,7 +2127,7 @@ public function saveSPKAC(array $spkac, $format = self::FORMAT_PEM)
/**
* Load a Certificate Revocation List
*
* @param string $crl
* @param string|array $crl
* @param int $mode
* @return mixed
*/
Expand Down
27 changes: 27 additions & 0 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,33 @@ static function (string $filePath, string $prefix, string $content): string {
$s_prefix = str_replace('\\', '\\\\', $prefix);
$content = str_replace("'phpseclib3\\\\", "'\\\\" . $s_prefix . '\\\\phpseclib3\\\\', $content);
$content = str_replace("'\\\\phpseclib3", "'\\\\" . $s_prefix . '\\\\phpseclib3', $content);

// Specific patch for Crypt/RSA/Formats/Keys/PSS.php: handle saltLength being an int or an object
if (str_contains($filePath, 'Crypt/RSA/Formats/Keys/PSS.php')) {
$search = '$result[\'saltLength\'] = (int) $params[\'saltLength\']->toString();';
$replace = <<<'PHP'
if (is_int($params['saltLength'])) {
$result['saltLength'] = $params['saltLength'];
} else {
$result['saltLength'] = (int) $params['saltLength']->toString();
}
PHP;
if (strpos($content, $search) !== false) {
$content = str_replace($search, $replace, $content);
} else {
$content = preg_replace(
'/\$result\\[\\\'saltLength\\\']\\s*=\\s*\\(int\\)\\s*\\$params\\[\\\'saltLength\\\']\\->toString\\(\\);/m',
$replace,
$content
);
}
}

// Specific patch for File/X509.php: update docblock param type for $crl to string|array
if (str_contains($filePath, 'File/X509.php')) {
$content = str_replace('@param string $crl', '@param string|array $crl', $content);
}

return $content;
},
// patchers for pdfparser
Expand Down