Commit Graph

4755 Commits

Author SHA1 Message Date
terrafrost
38de2d9e55
Merge pull request #2006 from rposky/ssh-binary-packet-buffer
SSH2: Reorganize get_binary_packet to fetch entire packet before processing
2024-05-29 08:53:00 -05:00
Robert
962cfa607d Make data provider static 2024-05-28 12:08:32 -04:00
Robert
69c70cfc03 Correct to PHP 5.6 syntax. Remove remaining reference to removed skip_channel_filter 2024-05-28 11:38:23 -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
b718a63aae EC/Keys/PKCS8: code reduction 2024-05-25 14:43:40 -05:00
terrafrost
541887c33a
Merge pull request #2003 from LeonMelis/3.0
Fix support for Ed448 private keys in PKCS#8 format
2024-05-25 14:42:46 -05:00
terrafrost
da7b2398d6 SSH2: CS adjustments 2024-05-25 12:21:51 -05:00
terrafrost
8a79979641 Merge branch '2.0' into 3.0 2024-05-25 12:20:59 -05:00
terrafrost
94173258ac Merge branch '1.0' into 2.0 2024-05-25 11:54:04 -05:00
Tingsong Xu
39eddd174a SSH2: handle SSH2_MSG_EXT_INFO out of login. 2024-05-25 11:53:52 -05:00
terrafrost
983ac8e15c Blowfish: replace $sbox0..3 with single $sbox variable 2024-05-22 05:29:23 -05:00
Léon Melis
514b907ab0 Fix support for Ed448 private keys in PKCS#8 format 2024-05-21 17:03:21 +02:00
terrafrost
3f921549f8 SSH2: fix bug that prevented RC4 and ChaCha20 from ever being used 2024-05-19 07:25:41 -05:00
terrafrost
787d0fdc1f Merge branch '2.0' into 3.0 2024-05-18 20:42:49 -05:00
terrafrost
a134f1c8d4 Merge branch '1.0' into 2.0 2024-05-18 20:25:32 -05:00
terrafrost
62352f43ef SSH2: eliminate some $this->retry_connect ambiguity 2024-05-18 20:16:02 -05:00
terrafrost
227cf21bbc Merge branch '2.0' into 3.0 2024-05-17 18:56:19 -05:00
terrafrost
1fc0ad14f9 Merge branch '1.0' into 2.0 2024-05-17 18:40:54 -05:00
terrafrost
023f5c00be CS adjustment 2024-05-17 18:40:42 -05:00
terrafrost
afda7ebf95 Merge branch '1.0' into 2.0 2024-05-17 17:01:33 -05:00
terrafrost
28211e5a49 SFTP: try without path canonicalization if initial realpath() fails
on re-examining the "fix" for #1796 it would appear that commit
f189b9a is insufficient.
2024-05-17 16:58:11 -05:00
CommanderRoot
415073594a Allow paragonie/constant_time_encoding version 3 2024-05-13 23:15:45 -05:00
terrafrost
81ba8f72c3 Merge branch '2.0' into 3.0 2024-05-10 20:44:54 -05:00
terrafrost
df9e8b328a Merge branch '1.0' into 2.0 2024-05-10 20:44:34 -05:00
Jakub Trmota
3b0fb1c05f Agent: reset supported_private_key_algorithms for every key 2024-05-10 20:38:46 -05:00
terrafrost
2689c727e7 BigInteger: EvalBarrett / Barrett could sometimes slow to a crawl 2024-05-01 15:12:04 -05:00
terrafrost
f7f9831bec Merge branch '2.0' into 3.0 2024-04-13 17:51:45 -05:00
terrafrost
08bd1beb12 Merge branch '1.0' into 2.0 2024-04-13 17:51:15 -05:00
terrafrost
cd4d0ba47c Crypt/Base: update docblock comment 2024-04-13 17:50:36 -05:00
terrafrost
901a79f0ec Keys/OpenSSH: clean up exception messages 2024-04-10 04:43:30 -05:00
terrafrost
cfa2013d0f CHANGELOG: 3.0.37 release 2024-03-02 20:14:58 -06:00
terrafrost
c20dd784f0 SSH2: don't set stream timeout if timeout is 0 2024-02-28 22:40:13 -06:00
terrafrost
792314e851 SSH2: openChannel -> open_channel
makes openChannel snake case like close_channel already is. this is
not a BC break as openChannel is protected
2024-02-26 07:52:24 -06:00
terrafrost
c2fb513616 Merge branch '3.0-isconnected-tweak' into 3.0 2024-02-25 23:13:14 -06:00
terrafrost
b837466794 Merge branch '2.0' into 3.0 2024-02-25 23:12:56 -06:00
terrafrost
b7d7d90ee7 Merge branch '1.0' into 2.0 2024-02-25 22:55:38 -06:00
terrafrost
86990d518f CHANGELOG: add 1.0.23 release 2024-02-25 22:44:00 -06:00
terrafrost
e77f95186f Merge branch '2.0' into 3.0 2024-02-24 14:28:23 -06:00
terrafrost
a922309855 BigInteger: optimize getLength() 2024-02-24 14:26:29 -06:00
terrafrost
939f96c4e2 Merge branch '1.0' into 2.0 2024-02-24 14:16:44 -06:00
terrafrost
c55b75199e BigInteger: fix getLength() 2024-02-24 14:15:49 -06:00
terrafrost
c114503b5d Merge branch '2.0' into 3.0 2024-02-24 13:41:01 -06:00
terrafrost
2870c8fab3 BigInteger: phpseclib 2.0 updates 2024-02-24 13:29:02 -06:00
terrafrost
0777e700b9 Tests: updates for phpseclib 2.0 2024-02-24 13:26:33 -06:00
terrafrost
63711d50e2 Merge branch '1.0' into 2.0 2024-02-24 13:25:48 -06:00
terrafrost
baba459ca1 Tests: phpseclib 3.0 updates 2024-02-24 13:23:49 -06:00
terrafrost
0192fcc4aa Merge branch '2.0' into 3.0 2024-02-24 13:23:11 -06:00
terrafrost
e67c9dd555 Tests: phpseclib 2.0 updates 2024-02-24 13:16:21 -06:00
terrafrost
072ab45681 Merge branch '1.0' into 2.0 2024-02-24 13:15:33 -06:00
terrafrost
e32531001b ASN1: limit OID length 2024-02-24 13:07:01 -06:00