Sam Mousa
a49f431bc1
chore: add tests fix cs
2024-08-13 11:20:30 +02:00
terrafrost
44d5ca2ab5
CS adjustment
2024-07-25 00:42:32 -05:00
terrafrost
cddea87362
Merge branch '3.0'
2024-06-30 07:36:55 -05:00
Robert
c9eb03423f
Correct unit test failures
2024-06-28 10:25:07 -04:00
Robert
71a9fc7915
Correction to stream timeout for keep alive, wait for time remaining in interval. Reflect total wait time on packet in logging.
2024-06-28 09:39:06 -04:00
terrafrost
7e21068964
CS adjustments
2024-05-29 09:37:34 -05:00
terrafrost
141e0c8c74
Merge branch '3.0'
2024-05-29 09:23:07 -05:00
Robert
962cfa607d
Make data provider static
2024-05-28 12:08:32 -04:00
Robert
6fc9a98d42
Reorganize get_binary_packet to fetch entire payload before decrypt processing, buffering for graceful handling across timeouts.
...
Remove skip filter parameter from method signatures, now technically defunct as all requests through get_binary_packet incorporate the same timeout during blocking IO calls.
Introduce InvalidPacketLength exception and employ to detect OpenSSL 0.9.8e flaw at higher logical level than binary packet processing.
Removing case logic in binary packet filtering for channel message types, made extraneous by use of get_channel_packet, and possibly leading to discarded data packets.
Reset connection properties during disconnect. Rework callers of reset_connection to use disconnect_helper.
Bugfix for no encyrption algorithms negotiated with server.
2024-05-28 11:23:48 -04:00
terrafrost
46602823cc
CS adjustment
2023-10-21 07:21:42 -05:00
terrafrost
967210fb46
CS adjustment
2023-10-07 18:25:46 -05:00
terrafrost
fa53d11807
more CS adjustments
2023-09-25 11:22:02 -05:00
terrafrost
de18d2d81b
CS adjustment that i don't agree with
2023-09-25 09:25:59 -05:00
terrafrost
e7379980b4
Tests/SFTP: previously last method was void, causing error
2023-08-28 09:06:38 -05:00
terrafrost
c160a020db
Merge branch '3.0'
2023-08-28 08:51:17 -05:00
terrafrost
aeac69b846
Merge branch '2.0' into 3.0
2023-08-28 08:51:10 -05:00
terrafrost
bc62673fdd
Merge branch '1.0' into 2.0
2023-08-28 08:51:02 -05:00
terrafrost
320c43a4a0
SFTP: fix issue with get() downloading to files / streams
...
the code that's being removed has its origins in 65193d9a25
. in that commit the packet length is set outside of the while loop. this would continue to be the case until https://github.com/phpseclib/phpseclib/pull/945 .
2023-08-28 08:47:30 -05:00
terrafrost
ff26e22563
CS adjustments
2023-06-04 11:26:34 -05:00
terrafrost
52c85c9935
Merge branch '3.0-openchannel' into master-openchannel
2023-04-15 08:31:37 -05:00
terrafrost
06f45881f9
Tests/SSH2: add more expansive unit test
2023-04-15 08:07:18 -05:00
terrafrost
184a984e97
SSH2: updates to openchannel refactoring
2023-04-14 18:01:20 -05:00
Robert
53fe071bd2
Merge branch '3.0'
2023-03-16 11:01:21 -05:00
Robert
7ec36fb5d5
Exposed publically open shell method as well as methods to query interactive channel open statuses.
...
Removed in_request_pty_exec and in_subsystem flags, and removed uses of MASK_SHELL in bitmap, replacing with open channel status queries.
Adding channel argument to read, write, and reset allowing callers to select among multiple open interactive channels.
Adding interactive channel identifier interface as sanctioned path for users to obtain channels ids instead of using channel constants.
Deprecating get_interactive_channel helper and documenting its "legacy" behavior in read, write, and reset doc blocks.
Removing disconnect on timeout in channel close for lack of clarity around timeout origin.
Check for open channel prior to closing in stopSubsystem and reset.
2023-03-16 10:18:03 -05:00
terrafrost
ca2c9588ea
Merge branch '3.0'
2023-02-05 23:47:08 -06:00
terrafrost
508eaa7197
Tests: PHPUnit 10 updates
2023-02-05 17:33:16 -06:00
terrafrost
0fc733a262
Tests/SFTP: CS adjustments
2022-10-04 22:04:40 -05:00
terrafrost
b2ca37b990
Merge branch '3.0'
2022-10-04 21:31:51 -05:00
terrafrost
a10a3b8e5b
Merge branch '2.0' into 3.0
2022-10-04 21:02:49 -05:00
terrafrost
2ed74533f4
Merge branch '1.0' into 2.0
2022-10-04 18:11:49 -05:00
Phil Davis
24845ccbcc
delete of non-existent folder returns true when it used to ret
2022-10-04 17:56:23 -05:00
Jack Worman
985b3c4f7c
Throw \phpseclib3\Exception\ExceptionInterface exceptions
2022-09-26 07:41:32 -05:00
Jack Worman
6958ba1627
php-cs-fixer @PHP81Migration rule set
2022-08-18 08:10:12 -05:00
Jack Worman
80f2d7f521
php-cs-fixer - php 7.4 rules
2022-08-18 08:10:08 -05:00
Jack Worman
e210166f43
Php 7.1 Upgrade
2022-07-08 08:37:58 -05:00
Jack Worman
97902d4bd3
Upgrade to PHP 7.0
2022-07-02 16:26:15 -05:00
terrafrost
b4e20843c8
Merge branch '3.0'
2022-04-22 18:50:55 -05:00
Jack Worman
746e9eef57
Clean Up Tests
2022-04-22 18:41:59 -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
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
Jack Worman
61f2bc1c06
Remove Dynamic Constants
...
Remove Dynamic Constants
2022-02-02 19:43:32 -06:00
Jack Worman
ef66d9f7dd
php-cs-fixer ci
...
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
terrafrost
ddfb217855
Merge branch '1.0' into 3.0
2022-01-08 19:51:35 -06:00
terrafrost
676b099789
Merge branch '1.0' into 2.0
2022-01-08 19:50:36 -06:00
PetrP
888867e7b6
SFTP: fix chgrp() for version < 4
...
$uid and $gid were flipped with dbfc762257
2022-01-08 19:50:22 -06:00
terrafrost
796270a254
Tests: update for 3.0 branch
2022-01-08 16:49:43 -06:00