Commit Graph

1045 Commits

Author SHA1 Message Date
terrafrost
7c56d2ca07 CS adjustments 2024-11-22 17:58:43 -06:00
terrafrost
a868b3d7dc Merge branch '3.0' 2024-09-30 05:21:45 -05:00
terrafrost
1d594b65e6 Tests: new CSR encoding broke another unit test 2024-09-30 05:00:58 -05:00
terrafrost
7ee9f87846 Tests: add unit test for attributes 2024-09-30 04:40:33 -05:00
terrafrost
12cd5f82b5 Merge branch 'sftp-extensions' 2024-08-25 20:15:09 -05:00
terrafrost
ce0aeec402 SFTP: backport statvfs() and posix_rename() from master branch 2024-08-25 20:10:38 -05:00
terrafrost
394d15bf3a Merge branch '3.0' 2024-08-19 07:00:10 -05:00
Robert
c82594e222 Add DISCONNECT bitmap mask and use to prevent looping potential while disconnecting. Do not attempt disconnect packet send on closed socket. 2024-08-14 10:32:36 -04:00
Sam Mousa
a49f431bc1
chore: add tests fix cs 2024-08-13 11:20:30 +02:00
terrafrost
3521f74b4e Merge branch '3.0' 2024-08-11 11:09:52 -05:00
terrafrost
67f87dd1e2 Tests/BigInteger: update bitwise_OR test 2024-08-11 10:47:47 -05:00
terrafrost
9983f00675 Merge branch '3.0' 2024-08-05 11:12:01 -05:00
terrafrost
47895e2851
Merge pull request #2023 from rposky/ssh-default-socket-timeout
SSH2: Defer to default socket timeout in absence of more specific value
2024-08-05 10:59:09 -05:00
terrafrost
cfaeb34813 Merge branch '3.0' 2024-08-03 11:55:16 -05:00
terrafrost
42ecb34430 CS adjustments 2024-08-03 11:47:18 -05:00
Robert
b94d55a734 Use the default socket timeout in absence of more specific user-defined value 2024-08-01 12:14:33 -04:00
terrafrost
e1345b0ad9 Merge branch '3.0' 2024-07-31 18:34:21 -05:00
terrafrost
6ad7c53bbf CS adjustments 2024-07-31 18:28:22 -05:00
terrafrost
a015cded00 fix issue creating IEEE signatures 2024-07-31 09:02:31 -05:00
terrafrost
44d5ca2ab5 CS adjustment 2024-07-25 00:42:32 -05:00
terrafrost
dc15f18bc6 fix bad merge 2024-07-25 00:16:43 -05:00
terrafrost
0d8ec30267 Merge branch '3.0' 2024-07-24 23:17:25 -05:00
Robert
c1e69ddb79 Remove use of master MessageType 2024-07-12 17:14:54 -04:00
Robert
e401ee05f5 Introduce buffering to send channel packet for capability to resume across timeout 2024-07-12 17:09:21 -04: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
4cdcb74b8c CS adjustments 2024-05-25 15:20:57 -05:00
terrafrost
0db8742630 Merge branch '3.0' 2024-05-25 14:53:05 -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
550dcb3e13 Merge branch '3.0' 2024-05-01 15:15:49 -05:00
terrafrost
2689c727e7 BigInteger: EvalBarrett / Barrett could sometimes slow to a crawl 2024-05-01 15:12:04 -05:00
Ayesh Karunaratne
6931c96422
[PHP 8.4] Fixes for implicit nullability deprecation
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations.

See:
 - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types)
 - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)
2024-03-16 02:33:11 +07:00
terrafrost
f333669742 Merge branch '3.0' 2024-02-24 14:27:26 -06:00
terrafrost
a922309855 BigInteger: optimize getLength() 2024-02-24 14:26:29 -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
terrafrost
1143630279 Merge branch '3.0' 2024-02-24 12:23:41 -06:00
terrafrost
e17409a3e3 Tests: add unit test for EC pub key with excessively large integer 2024-02-24 08:42:27 -06:00
terrafrost
e47383e23e Tests: fix bad merge 2024-02-07 21:29:42 -06:00
terrafrost
414b0b0d3b Merge branch '3.0' 2024-02-07 21:17:27 -06:00
terrafrost
89f0d3c952 Tests: data providers need to be static 2024-02-07 21:15:15 -06:00
terrafrost
cf18ffca5c Merge branch '3.0' 2023-11-21 19:44:30 -06:00