Commit Graph

2138 Commits

Author SHA1 Message Date
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
terrafrost
3215afaebb BACKERS: add istiak-tridip. thanks!! 2023-05-10 04:36:30 -05:00
terrafrost
53f967c36e SFTP: fix NET_SFTP_ATTR_EXTENDED 2023-04-12 20:49:07 -05:00
terrafrost
34d00869e5 SSH2: backport getTimeout() 2023-03-05 04:07:26 -06:00
terrafrost
9e758c180d Blowfish: 32-bit PHP tweaks 2023-03-03 09:24:42 -06:00
terrafrost
1b1e729632 backport enhancements from the 2.0 branch 2023-02-11 22:20:03 -06:00
terrafrost
c87e256459 BACKERS: add cjhaas. thank you! 2023-01-17 07:55:57 -06:00
Alexander Vlasov
797351cd63 Fix undefined properties deprecated in PHP 8.2 2022-12-23 10:08:51 -06:00
terrafrost
c99e38b7c9 OpenSSL 3.0.1+ deprecated some algorithms 2022-12-16 22:16:49 -06:00
terrafrost
1c56e00cf8 SSH2: if logging in with rsa-sha2-256/512 fails, try ssh-rsa 2022-12-11 07:29:44 -06:00
terrafrost
16df002325 Crypt/Base: add a function to check continuous buffer status 2022-12-07 08:32:44 -06:00
terrafrost
68c3eef88f SCP: do $var === false vs !$var 2022-11-28 08:42:55 -06:00
Côme Chilliet
74ee25bf8a Fix PHP 8.2 dynamic property warning 2022-11-27 21:37:05 -06:00
Lars Moelleken
a482c925af typo: "cann't" vs "can't" 2022-10-27 23:06:53 -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
terrafrost
c4ec1ea069 Random: fix fallback on PHP 8.1+ 2022-09-13 23:58:14 -05:00
terrafrost
51cafda4a3 make PHP 8.1 32-bit changes compatable with raspberry pi's 2022-09-13 23:56:13 -05:00
Jeremy Albert
2ab212300e Avoid implicit conversion from float to int 2022-09-13 12:53:20 -05:00
terrafrost
1168ba4d27 backport 3.0's PHP 8.1 32-bit fixes 2022-08-28 09:54:08 -05:00
terrafrost
3d05201d40 X509: include the query part of the URL 2022-08-17 00:07:54 -05:00
terrafrost
a44b56d4b5 Crypt/Base: fix PHP 8.2 deprecation error 2022-07-31 19:29:31 -05:00
terrafrost
2d6713cd54 Crypt: CRYPT_BASE_USE_SAFE_INTVAL -> CRYPT_BASE_USE_REG_INTVAL 2022-07-31 08:59:21 -05:00
terrafrost
34a277ff16 a few small tweaks 2022-07-28 16:44:29 -05:00
terrafrost
cd716bcf36 updates to make phpseclib 1.0 work on older PHP versions 2022-07-28 08:42:14 -05:00
terrafrost
0c8994bbad Crypt/RSA: add support for loading OpenSSH encrypted keys 2022-07-28 08:11:42 -05:00
terrafrost
76a7b07bda Crypt/Blowfish: partial refactor for bcrypt 2022-07-24 17:37:31 -05:00
terrafrost
445077e733 Crypt/Base: rewrite how safe_intval check is done 2022-07-24 16:51:56 -05:00