Commit Graph

2164 Commits

Author SHA1 Message Date
terrafrost
57435e2401 SSH2: add bytesUntilKeyReexchange() method 2024-11-28 17:18:13 -06:00
terrafrost
88fd8e00b2 run unit tests on PHP 8.3 and 8.4 2024-11-22 18:07:56 -06:00
terrafrost
6f4af7ee05 SSH2: extra_packets is no longer used 2024-11-22 17:12:10 -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
ccf4b488e8 SSH2: PHP didn't support constant expressions until PHP 5.6 2024-11-22 14:54:16 -06:00
terrafrost
7f31a1e3e6 SSH2: make it so phpseclib initiates key re-exchange after 1GB 2024-11-22 14:29:20 -06:00
terrafrost
2b3d219fb4 SSH2: update setPreferredAlgorithms() to accept csv's 2024-11-14 20:13:31 -06:00
terrafrost
40e13eff99 BACKERS: add ssddanbrown - thanks!! 2024-10-26 08:52:56 -05:00
terrafrost
c6ff35a494 X509: make the attributes section of new CSRs be blank 2024-09-30 04:29:10 -05:00
terrafrost
9f1602e64c CHANGELOG: add entries for 0.2.1, 0.2.0, 0.1.5 and 0.1.1
using release notes from https://web.archive.org/web/20101215043248/http://freshmeat.net/projects/phpseclib
2024-09-25 18:01:31 -05:00
terrafrost
f23b6d583b X509: CRL fixes 2024-09-15 21:43:11 -05:00
terrafrost
3e8ce2ba4b SSH2: if string is passed to setPreferredAlgorithms treat as array 2024-09-04 21:25:09 -05:00
terrafrost
90eb0220af SSH2: fix possible infinite loop on packet timeout
get_channel_packet() could call close_channel() which would call
get_channel_packet(), again, repeat ad nauseam
2024-08-10 19:55:03 -05:00
terrafrost
088803a9e3 BACKERS: add blakemckeeby - thanks!! 2024-06-12 23:07:52 -05:00
Tingsong Xu
39eddd174a SSH2: handle SSH2_MSG_EXT_INFO out of login. 2024-05-25 11:53:52 -05:00
terrafrost
62352f43ef SSH2: eliminate some $this->retry_connect ambiguity 2024-05-18 20:16:02 -05:00
terrafrost
023f5c00be CS adjustment 2024-05-17 18:40:42 -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
Jakub Trmota
3b0fb1c05f Agent: reset supported_private_key_algorithms for every key 2024-05-10 20:38:46 -05:00
terrafrost
cd4d0ba47c Crypt/Base: update docblock comment 2024-04-13 17:50:36 -05:00
terrafrost
86990d518f CHANGELOG: add 1.0.23 release 2024-02-25 22:44:00 -06:00
terrafrost
c55b75199e BigInteger: fix getLength() 2024-02-24 14:15:49 -06:00
terrafrost
e32531001b ASN1: limit OID length 2024-02-24 13:07:01 -06:00
terrafrost
ad5dbdf212 BigInteger: put guardrails on isPrime() and randomPrime() 2024-02-23 08:57:22 -06:00
terrafrost
d430fb9d8d BACKERS: add anna filina - thanks! 2024-02-20 08:59:58 -06:00
terrafrost
a69364def9 SSH2/SFTP: tweak docblock comments for getLastError() / etc 2024-02-07 22:42:24 -06:00
terrafrost
db27873147 CHANGELOG: add 1.0.22 release 2023-12-28 19:44:43 -06:00
terrafrost
c8e3ab9317 SSH2: implement terrapin attack countermeasures 2023-12-28 07:44:51 -06:00
terrafrost
23f117e32b SSH2: only capture login info once 2023-12-18 22:54:09 -06:00
terrafrost
404f86fb61 SFTP: ping() didn't work for SFTP connections 2023-12-08 18:58:32 -06:00
terrafrost
6d1cc74bf3 RSA: add note discussion source of openssl errors 2023-12-03 09:44:23 -06:00
terrafrost
e84886fde2 SSH2: another attempt at #1960 2023-11-22 12:38:34 -06:00
terrafrost
49c9439878 SSH2: use phpseclib's preferred order for auth algorithms 2023-11-22 08:13:46 -06:00
terrafrost
356ab5f76a SSH2: add support for RFC8308 2023-11-21 23:02:42 -06:00
terrafrost
173bb38e67 Crypt/Base: improve ARM detection code 2023-10-07 17:36:50 -05:00
terrafrost
6cd6e8ceab X509: fix for weird characters in subjaltname 2023-09-25 10:45:13 -05:00
terrafrost
b1bd715445 Rijndael: fix for PHP 8.3+ compatability 2023-09-21 15:07:38 -05:00
terrafrost
b85ce73d17 AES: rm redundant setKey() method and fix setKeyLength() 2023-09-21 15:07:09 -05:00
terrafrost
2cc785fc54 Rijndael: fix E_DEPRECATED
bfba3db1a7 removed setKey() from the 1.0 branch, however, 5321b9b610 reintroduced it. that merge commit had conflicts and the conflicts were (apparently) inappropriately resolved
2023-09-06 09:09:11 -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
0f23be3188 SFTP: fix SFTPv2 errors when logging errors 2023-08-24 20:20:47 -05:00
terrafrost
585e0e44f4 ASN1: fix string conversion code for 32-bit PHP installs 2023-08-24 20:20:11 -05:00
terrafrost
699642770d README: add 1.0.21 zip file and drop PEAR support
i'll add 1.0.21 to the PEAR channel if there's any demand for it
but if there is any demand for it that'd be news to me
2023-07-09 10:33:58 -05:00
terrafrost
de7ec75b54 CHANGELOG: add 1.0.21 release 2023-07-09 10:16:21 -05:00
Kevin Reniers
38a2a84da1 Add EOF test to SSH2::isConnected
This adds an additional test to SSH2::isConnected to make it more intuitive. Aside from testing against the internal state, it will also assert that there is an internal socket and that that socket has not reached EOF.
2023-07-05 07:29:54 -05:00
terrafrost
de09e8e817 SFTP: RESUME_START didn't work as described 2023-07-02 11:48:07 -05:00
terrafrost
df3dab7d3f SFTP: make it so SFTP::RESUME also sets offset of local file 2023-07-02 10:45:25 -05:00
terrafrost
16c67f4399 SSH2: fix more E_DEPRECATE_NOTICEs 2023-06-13 03:01:43 -05:00
terrafrost
b6c01f9318 SSH2: backport some E_DEPRECATED fixes from 3.0 2023-06-12 17:14:58 -05:00
terrafrost
eb8cbd7317 X509: backport EV subjects 2023-06-04 16:16:07 -05:00