Commit Graph

884 Commits

Author SHA1 Message Date
terrafrost 62677de0bf SSH2: fix possibly undefined variable error 2022-06-14 00:02:10 -05:00
terrafrost c11618f005 Merge branch '3.0' 2022-05-06 16:25:37 -05:00
terrafrost 15ad047415 replace git.io links 2022-05-06 16:25:22 -05:00
terrafrost 21993760ad Merge branch '3.0' 2022-05-04 07:09:00 -05:00
Jack Worman 8855351cbb Remove_@access 2022-05-04 01:35:56 -05:00
terrafrost f21681bee8 Merge branch '3.0' 2022-05-04 01:19:12 -05:00
terrafrost a965060d81 SSH2: make login method return false under rare situation 2022-05-04 01:18:33 -05:00
terrafrost 3e073a59e0 Merge branch '3.0' 2022-03-15 18:56:04 -05:00
Jack Worman 0a69972571 Clean Up Tests 2022-03-15 18:49:38 -05:00
terrafrost 95aec3267d CS tweaks (Ssh -> SSH, Sftp -> SFTP) 2022-02-27 02:17:25 -06:00
terrafrost 6a6e80ba8f Merge branch '3.0' 2022-02-27 01:40:25 -06:00
Jack Worman 574953061a PSR4 for tests and added fall-through for switches
PSR4 for tests and added fall-through for switches
2022-02-27 01:26:31 -06:00
terrafrost 004aec954f Merge branch '3.0' 2022-02-19 18:08:40 -06:00
Jack Worman ea9f6540f3 PSR12 fixes
PSR12 fixes
2022-02-19 17:06:13 -06:00
terrafrost b3f14dee37 SSH2: move KEXDH_INIT / KEXDH_REPLY to MessageType 2022-02-04 08:56:52 -06:00
Jack Worman b352bd602d Changed casing 2022-02-03 19:09:41 -06:00
Jack Worman dcf3528c8d Renamed constants classes 2022-02-03 12:49:50 -06:00
Jack Worman 61f2bc1c06 Remove Dynamic Constants
Remove Dynamic Constants
2022-02-02 19:43:32 -06:00
terrafrost 56973d40db SSH2: stop using more dynamic properties in SymmetricKey 2022-02-01 21:17:10 -06:00
Jack Worman 9b1c218664 psalm ci
psalm-ci

psalm-ci

psalm-ci
2022-02-01 20:45:53 -06:00
Jack Worman ef66d9f7dd php-cs-fixer ci
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
terrafrost 3f2a5aa4cd SSH2: stop using dynamic properties in Hash 2022-01-30 01:52:31 -06:00
terrafrost 215fd61d12 SSHi2: stop using dynamic properties in SymmetricKey 2022-01-30 01:36:02 -06:00
Jack Worman 0a9fc99dc8 Un-qualifying global functions
Un-qualifying global functions
2022-01-30 01:19:16 -06:00
Jack Worman e3b71763ae Fixed psalm level 6 errors in phpseclib/Net/ 2022-01-30 01:18:53 -06:00
terrafrost 3d70b5ece8 SSH2: rm debug code 2022-01-29 11:38:19 -06:00
terrafrost de4220c461 SSH2: CS adjustments 2022-01-29 11:35:38 -06:00
terrafrost e6afe3e25f Merge branch '2.0' into 3.0 2022-01-28 00:54:53 -06:00
terrafrost ef45ea7289 Merge branch '0.0' into 2.0 2022-01-28 00:52:05 -06:00
uzulla ba4414c2f3 Fix: avoid warn when cast float to int in PHP7.1.
I got some error.

```
 Implicit conversion from float 992216.1102294922 to int loses precision

---

```
2022-01-28 00:44:44 -06:00
terrafrost a748bf5bef SSH2: one more tweak to RSA signature verificatio 2022-01-27 18:26:08 -06:00
terrafrost decbde4f5d SSH2: rsa-sha2-256 and rsa-sha2-512 sigs weren't verifying 2022-01-27 05:51:06 -06:00
Jack Worman 7c000843ab Corrected many @return annotations in phpseclib/Net
Corrected many @return annotations in phpseclib/Net
2022-01-23 11:00:41 -06:00
terrafrost 602760c5d8 SSH2: CS change for 3.0 branch 2022-01-14 18:32:23 -06:00
terrafrost d359543fe7 Merge branch '2.0' into 3.0 2022-01-14 18:31:48 -06:00
terrafrost 89482747a6 Merge branch '0.0' into 2.0 2022-01-14 18:31:37 -06:00
terrafrost dac83d206e SSH2: fix pre-PHP 5.4 syntax error 2022-01-14 18:31:19 -06:00
Michael Käfer d71522d8aa Remove define() from SSH2 and use class constants instead (3.0 branch) 2021-12-14 16:34:41 +01:00
Michael Käfer 624f328c88 Remove define() from SSH2 and use class constants instead 2021-12-14 13:18:33 +01:00
terrafrost 072a56b2f9 SSH2: allow for stringable objects 2021-12-07 22:20:55 -06:00
terrafrost 20b9abf589 SSH2: show a more helpful error message when logging in with pubkey 2021-12-07 22:10:29 -06:00
terrafrost 6a935bb57b Merge branch '2.0' into 3.0 2021-12-07 21:59:47 -06:00
terrafrost a74707e080 SSH2: make login() return false if no valid auth methods are found
this is an issue if you, for example, login with a PublicKey instead of a PrivateKey
2021-12-07 21:59:24 -06:00
terrafrost e9fbf9ed8a Merge branch '1.0' into 2.0 2021-12-07 21:58:21 -06:00
terrafrost 649661cd5e SSH2: make login() return false if no valid auth methods are found 2021-12-07 21:57:55 -06:00
terrafrost 779e11e496 SSH2: use exceptions rather than user_error 2021-11-11 19:39:49 -06:00
terrafrost 15263f0c9c Merge branch '1.0' into 3.0 2021-11-11 19:38:52 -06:00
terrafrost cee791820c Merge branch '1.0' into 2.0 2021-11-11 19:17:17 -06:00
terrafrost fe4dc433cc SSH2: error out when no data is received from the server 2021-11-11 19:06:18 -06:00
terrafrost a0405d4816 Merge branch '2.0' into 3.0 2021-11-03 22:28:16 -05:00
terrafrost 9fb26d478a Merge branch '1.0' into 2.0 2021-11-03 22:16:57 -05:00
terrafrost 29c8591cb2 SSH2: add "smart multi factor" login mode (enabled by default) 2021-11-03 22:16:14 -05:00
terrafrost 878526d7c9 SSH2: CS adjustments 2021-10-30 18:16:23 -05:00
terrafrost 13b9663ac6 Merge branch '1.0' into 3.0 2021-10-30 18:15:28 -05:00
terrafrost 895cf85dff Merge branch '0.0' into 2.0 2021-10-30 18:04:25 -05:00
vgogolin 1a942620b3 Backward compatibility with old PHP versions
Fix for PHP Parse error:  syntax error, unexpected '[' in /vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 3558
2021-10-30 18:04:19 -05:00
terrafrost 7a739d75fe Merge branch '2.0' into 3.0 2021-10-26 20:48:46 -05:00
terrafrost 2de84fba24 Merge branch '1.0' into 2.0 2021-10-26 20:14:31 -05:00
terrafrost da6c1b06bf SSH2: add support for zlib and zlib@openssh.com compression 2021-10-26 20:04:53 -05:00
terrafrost a2c30f9d33 Merge branch '2.0' into 3.0 2021-10-11 09:15:37 -05:00
terrafrost eacb9f8614 Merge branch '1.0' into 2.0 2021-10-11 09:02:22 -05:00
terrafrost 74f1c9ed7b SSH2: CS adjustments 2021-10-11 08:58:43 -05:00
terrafrost 9a61525f44 SSH2: rm unnecessary code 2021-10-11 08:53:21 -05:00
terrafrost 0fe328936c SSH2: implement a different fix for #1613 2021-10-11 08:47:51 -05:00
terrafrost 2564032e6f Merge branch '2.0' into 3.0 2021-10-09 13:32:07 -05:00
terrafrost 2f3ca7123d SSH2: fix channel constant 2021-10-09 13:31:14 -05:00
terrafrost b3e39538b8 Merge branch '2.0' into 3.0 2021-10-09 13:27:40 -05:00
terrafrost 7b2097c6bd Merge branch '1.0' into 2.0 2021-10-09 13:24:22 -05:00
terrafrost 1fab947f01 SSH2: fixes for noisy channels 2021-10-09 13:21:09 -05:00
terrafrost 644af71b6c SSH2: readd public for 3.0 branch 2021-10-09 13:00:30 -05:00
terrafrost 025b8beb8f Merge branch '2.0' into 3.0 2021-10-09 13:00:03 -05:00
terrafrost fe6e2b9bfe Merge branch '1.0' into 2.0 2021-10-09 12:59:56 -05:00
terrafrost b29f134c24 SSH2: CS adjustments 2021-10-09 12:59:48 -05:00
terrafrost cd80f98788 Merge branch '2.0' into 3.0 2021-10-09 07:51:17 -05:00
terrafrost 7c14eedbfd Merge branch '1.0' into 2.0 2021-10-09 07:50:36 -05:00
terrafrost e4d2416bdc SSH2: SSH-2.0-CoreFTP is 15 bytes long - not 13 2021-10-09 07:50:10 -05:00
terrafrost defd5d23b1 fix bad merge 2021-09-18 10:35:21 -05:00
terrafrost 418035c404 SSH2: use weakreference when available to stop memory leak 2021-06-19 11:17:23 -05:00
terrafrost 9b1f8a260a SSH2: NET_SSH2_CHANNEL_KEEP_ALIVE -> self::CHANNEL_KEEP_ALIVE 2021-06-16 08:12:09 -05:00
terrafrost c98b163e76 SSH2: rm unneeded false checks (for which exceptions are now used) 2021-05-21 16:36:53 -05:00
terrafrost 4b2bdfa408 Merge branch '2.0' into 3.0 2021-05-18 22:02:48 -05:00
terrafrost fe6a84a58b Merge branch '1.0' into 2.0 2021-05-18 22:02:39 -05:00
terrafrost 915d1d8ca9 SSH2: fix PHP7.4 errors about accessing bool as string 2021-05-18 22:00:59 -05:00
terrafrost c1c233e907 Merge branch '2.0' into 3.0 2021-05-15 22:28:36 -05:00
terrafrost 94abf563ad Merge branch '1.0' into 2.0 2021-05-15 22:22:35 -05:00
terrafrost 8204273978 SSH2: fix issue with key re-exchange 2021-05-15 22:22:14 -05:00
terrafrost 574382e06a Merge branch '2.0' into 3.0 2021-05-14 12:56:16 -05:00
terrafrost 0b4484a107 Merge branch '1.0' into 2.0 2021-05-14 12:56:09 -05:00
terrafrost 9a7cfafc8d SSH2: timeout would occasionally infinitely loop
this was changed from !$this->curTimeout to $this->curTimeout <= 0
in commit 96c4c3bc58
2021-05-14 12:55:06 -05:00
terrafrost 05828a8759 SFTP: reopen channel on channel closure 2021-05-09 01:07:09 -05:00
nickyb b53f54d953 Implemented auth_methods_to_continue property and getter. 2021-05-02 08:44:02 -05:00
terrafrost f1c7946b72 Merge branch '1.0' into 2.0 2021-05-02 08:37:28 -05:00
terrafrost 0e3ef812c3 CS adjustments 2021-05-02 08:37:19 -05:00
terrafrost f1b0708446 Merge branch '1.0' into 2.0 2021-05-02 08:15:00 -05:00
nickyb aa8138a330 Support for continue auth methods. 2021-05-02 08:12:24 -05:00
terrafrost 5b6024b409 CS adjustment 2021-04-13 08:05:55 -05:00
terrafrost 4e1093fc22 CS adjustments 2021-04-12 06:17:04 -05:00
terrafrost c1ea063c63 Merge branch 'nexans-1.0' into nexans-2.0 2021-03-30 22:44:05 -05:00
terrafrost 2d6705dfbd SSH2: don't close channel on unexpected response to channel request 2021-03-30 22:43:34 -05:00
terrafrost 5cb4e29555 Merge branch 'nexans-2.0' into nexans-3.0 2021-03-30 22:41:43 -05:00