5545 Commits

Author SHA1 Message Date
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 101650b65d4fdd9b392cd899c765f8ce5bf3addd.
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
terrafrost
57450591e3 Merge branch '1.0' into 2.0 2024-11-14 20:14:04 -06:00
terrafrost
2b3d219fb4 SSH2: update setPreferredAlgorithms() to accept csv's 2024-11-14 20:13:31 -06:00
terrafrost
ea10516d43
Merge pull request #2045 from felipef0xx/var-overwrite
Fix - Possible Variable Overwrite: Global Scope
2024-10-26 09:11:52 -05:00
terrafrost
4526ef6a51 Merge branch '3.0' 2024-10-26 08:53:33 -05:00
terrafrost
c0f74b21d6 Merge branch '2.0' into 3.0 2024-10-26 08:53:26 -05:00
terrafrost
97a5d4f1e8 Merge branch '1.0' into 2.0 2024-10-26 08:53:12 -05:00
terrafrost
40e13eff99 BACKERS: add ssddanbrown - thanks!! 2024-10-26 08:52:56 -05:00
Santos, Felipe Almeida dos
101650b65d chore: add EXTR_SKIP to extract() calls to remediate vulnerability: Possible Variable Overwrite: Global Scope (CWE ID 473) 2024-10-25 15:27:44 -03:00
terrafrost
489ff793a7 Merge branch '3.0' 2024-10-01 17:57:27 -05:00