Commit Graph

5554 Commits

Author SHA1 Message Date
terrafrost
faced4d097 Merge branch '3.0' 2024-11-29 00:15:51 -06:00
terrafrost
7127d934c9 Merge branch '2.0' into 3.0 2024-11-29 00:15:34 -06:00
terrafrost
ca7ae97d31 Merge branch '1.0' into 2.0 2024-11-28 23:36:13 -06:00
terrafrost
05085f4df0 BigInteger: fix for PHP 8.4.0 - 8.4.1 regression
See https://github.com/php/php-src/issues/16870
2024-11-28 23:24:31 -06:00
terrafrost
58709cff79 RSA: PHP 8.4 deprecated xml_set_object() 2024-11-28 23:09:12 -06:00
terrafrost
18d71ceab6 Merge branch '3.0' 2024-11-28 22:16:48 -06:00
terrafrost
7d1779e03e X509: even more PHP 8.4 deprecations 2024-11-28 22:04:36 -06:00
terrafrost
b5d32a8a41 Merge branch '3.0' 2024-11-28 19:39:02 -06:00
terrafrost
6dcb3bbca6 X509: fix another PHP 8.4 deprecation 2024-11-28 19:38:13 -06:00
terrafrost
e6864d48e1 Merge branch '3.0' 2024-11-28 19:33:12 -06:00
terrafrost
e432117c2b fix PHP 8.4 deprecations
phpseclib 3.0 works on PHP 5.6+. changing this for the 3.0 branch
would be a BC break so that's not happening.

the problem is that PHP 8.4 deprecated implicitly nullable parameter
types [1] in favor of the ?T syntax, which wasn't introduced until
PHP 7.1. if phpseclib 3.0 ups the minimimally required PHP version
to PHP 5.6 it's breaking BC so we'll just remove the type hinting
to make it a non issue. the master branch (which will eventually
someday become phpseclib 4.0) will still support type hinting

[1] https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
2024-11-28 19:28:11 -06:00
terrafrost
a60ebaffe5 Merge branch '3.0' 2024-11-28 17:44:07 -06:00
terrafrost
10a9c2e457 Merge branch '2.0' into 3.0 2024-11-28 17:43:56 -06:00
terrafrost
3106784b58 Merge branch '1.0' into 2.0 2024-11-28 17:42:18 -06:00
terrafrost
181f13a9d8 fix unit tests on PHP 8.3/8.4 2024-11-28 17:41:58 -06:00
terrafrost
3e27d83a22 more CS adjustments 2024-11-28 17:20:10 -06:00
terrafrost
49825b8bf3 Merge branch '3.0' 2024-11-28 17:19:50 -06:00
terrafrost
c38fde1fe0 CS adjustments 2024-11-28 17:19:28 -06:00
terrafrost
8eb3c09bfd Merge branch '2.0' into 3.0 2024-11-28 17:18:34 -06:00
terrafrost
6865afbede Merge branch '1.0' into 2.0 2024-11-28 17:18:22 -06:00
terrafrost
57435e2401 SSH2: add bytesUntilKeyReexchange() method 2024-11-28 17:18:13 -06:00
terrafrost
866ae12ea6 Merge branch '3.0' 2024-11-22 18:14:23 -06:00
terrafrost
a27023aa2b Merge branch '2.0' into 3.0 2024-11-22 18:09:25 -06:00
terrafrost
910927a7c2 Merge branch '1.0' into 2.0 2024-11-22 18:08:09 -06:00
terrafrost
88fd8e00b2 run unit tests on PHP 8.3 and 8.4 2024-11-22 18:07:56 -06:00
terrafrost
ccac840697 Merge branch '3.0' 2024-11-22 18:06:29 -06:00
terrafrost
b39334b81d SSH2: replace \RuntimeException with UnsupportedAlgorithmException 2024-11-22 18:06:09 -06:00
terrafrost
5160738b3a Merge branch '3.0' 2024-11-22 18:05:24 -06:00
terrafrost
b66b5dc6b2 SSH2: replace user_error with Exceptions 2024-11-22 18:00:43 -06:00
terrafrost
7c56d2ca07 CS adjustments 2024-11-22 17:58:43 -06:00
terrafrost
7070529e79 Merge branch '3.0' 2024-11-22 17:24:25 -06:00
terrafrost
f5113e1352 SSH2: rm extra_packets in a few more places 2024-11-22 17:23:31 -06:00
terrafrost
f388cb1d84 Merge branch '3.0' 2024-11-22 17:14:18 -06:00
terrafrost
e81fd6899b SSH2: rm changes i made for debugging 2024-11-22 17:13:52 -06:00
terrafrost
614d8ae88c Merge branch '2.0' into 3.0 2024-11-22 17:13:39 -06:00
terrafrost
99572879b2 Merge branch '1.0' into 2.0 2024-11-22 17:12:21 -06:00
terrafrost
6f4af7ee05 SSH2: extra_packets is no longer used 2024-11-22 17:12:10 -06:00
terrafrost
7aa66fd376 CS adjustments 2024-11-22 17:11:35 -06:00
terrafrost
feb12c8df0 Merge branch '3.0' 2024-11-22 17:08:03 -06:00
terrafrost
dcd4b2a034 Merge branch '2.0' into 3.0 2024-11-22 16:54:19 -06:00
terrafrost
53645af893 Merge branch '1.0' into 2.0 2024-11-22 16:32:36 -06:00
terrafrost
b38e84972d SSH2: don't count len of packets sent / rcvd during key exchange 2024-11-22 16:31:06 -06:00
terrafrost
b966aa2536 Merge branch '1.0' into 2.0 2024-11-22 14:54:47 -06:00
terrafrost
ccf4b488e8 SSH2: PHP didn't support constant expressions until PHP 5.6 2024-11-22 14:54:16 -06:00
terrafrost
0b9fd56b6f Merge branch '1.0' into 2.0 2024-11-22 14:40:40 -06:00
terrafrost
7f31a1e3e6 SSH2: make it so phpseclib initiates key re-exchange after 1GB 2024-11-22 14:29:20 -06:00
terrafrost
9fa2900713 Revert "chore: add EXTR_SKIP to extract() calls to remediate vulnerability: Possible Variable Overwrite: Global Scope (CWE ID 473)"
This reverts commit 101650b65d.
2024-11-14 22:33:04 -06:00
terrafrost
ea8535a976 Merge branch 'master' of https://github.com/phpseclib/phpseclib 2024-11-14 21:02:07 -06:00
terrafrost
9dab78cd04 Merge branch '3.0' 2024-11-14 20:22:36 -06:00
terrafrost
f7714a529e Merge branch '2.0' into 3.0 2024-11-14 20:14:52 -06:00