Commit Graph

2078 Commits

Author SHA1 Message Date
terrafrost
1611bdee76 Travis: test on 8.1.x vs 8.1.0 2022-05-13 14:54:42 -05:00
Yan Hu
eb71a6da75 Detect if stream metadata has wrapper_type set for SFTP put() method 2022-05-10 22:13:52 -05:00
terrafrost
1dfd1b9cd4 SFTP: try to delete dir even if it can't be opened 2022-05-06 14:19:42 -05:00
terrafrost
c22bf62ce1 BigInteger: tweak to the phpinfo checks 2022-04-26 08:54:19 -05:00
PaolaRuby
59481054df Update .gitattributes 2022-04-10 09:32:45 -05:00
terrafrost
24ae493c10 Crypt/Base: fix deprecation notice 2022-03-18 11:05:49 -05:00
terrafrost
7ce96d9337 Crypt/Base: sodium_increment uses the opposite endianness 2022-02-18 01:45:29 -06:00
terrafrost
1ba024df94 Crypt/Base: use sodium_increment in _increment_str 2022-02-17 22:50:56 -06:00
terrafrost
45d2ddcbc4 RSA: add support for loading PuTTY v3 keys 2022-02-17 00:32:21 -06:00
terrafrost
f05091ca95 SSH2/Agent: backport fix from master branch 2022-02-14 17:51:53 -06:00
terrafrost
bd8f02906e add ChargeOver as a sponsor - thanks!! 2022-02-01 07:00:55 -06:00
terrafrost
4d66eeb6a4 Crypt/Base: fix CTR mode with continuous buffer with non-eval PHP 2022-02-01 06:31:09 -06:00
terrafrost
e69380bfd1 BACKERS: add github sponsors >= $5.00 2022-01-29 15:04:02 -06:00
uzulla
ba4414c2f3 Fix: avoid warn when cast float to int in PHP7.1.
I got some error.

```
 Implicit conversion from float 992216.1102294922 to int loses precision

---

```
2022-01-28 00:44:44 -06:00
terrafrost
b2708aa783 BACKERS: add new sponsor! 2022-01-15 20:19:09 -06:00
terrafrost
dac83d206e SSH2: fix pre-PHP 5.4 syntax error 2022-01-14 18:31:19 -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
9b587a87c0 Tests: add test for connecting to non-existant host 2022-01-08 16:35:57 -06:00
terrafrost
b3a606b90c add 1.0.20 release 2021-12-28 00:26:23 -06:00
David Anderson
a9ed96833e
Check existence of phpinfo() before using 2021-12-21 14:19:00 +00:00
David Anderson
dd9dfeec18
Check phpinfo() available before using it 2021-12-21 14:17:16 +00:00
terrafrost
0868023216 Travis: add PHP 8.1.0 2021-12-10 07:39:19 -06:00
terrafrost
a74707e080 SSH2: make login() return false if no valid auth methods are found
this is an issue if you, for example, login with a PublicKey instead of a PrivateKey
2021-12-07 21:59:24 -06:00
terrafrost
e0068833b5 README: fix travis-ci.com link 2021-12-04 15:01:33 -06:00
terrafrost
25ccee1238 BACKERS: add Allan Simon 2021-11-17 09:22:30 -06:00
terrafrost
40035dc59c SFTP: don't attempt to parse unsupported attributes 2021-11-11 19:50:52 -06:00
terrafrost
fe4dc433cc SSH2: error out when no data is received from the server 2021-11-11 19:06:18 -06:00
terrafrost
31eac61820 Bootstrap: use version_compare instead of PHP_VERSION_ID 2021-11-10 19:45:31 -06:00
yangming
c91671f176 mbstring.func_overload is deprecated in php 6.2 and removed in php 8.0 2021-11-10 19:44:24 -06:00
terrafrost
29c8591cb2 SSH2: add "smart multi factor" login mode (enabled by default) 2021-11-03 22:16:14 -05:00
vgogolin
1a942620b3 Backward compatibility with old PHP versions
Fix for PHP Parse error:  syntax error, unexpected '[' in /vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 3558
2021-10-30 18:04:19 -05:00
terrafrost
0539780a86 Travis: rm 5.3 support; composer won't install on it 2021-10-26 20:16:46 -05:00
terrafrost
da6c1b06bf SSH2: add support for zlib and zlib@openssh.com compression 2021-10-26 20:04:53 -05:00
terrafrost
30a9a1541c Tests/SSH2: fix intermittently failing unit test 2021-10-13 21:03:54 -05:00
terrafrost
6f8d12ffc7 Tests: tests were being skipped because their deps had no asserts 2021-10-12 20:35:38 -05:00
terrafrost
74f1c9ed7b SSH2: CS adjustments 2021-10-11 08:58:43 -05:00
terrafrost
9a61525f44 SSH2: rm unnecessary code 2021-10-11 08:53:21 -05:00
terrafrost
0fe328936c SSH2: implement a different fix for #1613 2021-10-11 08:47:51 -05:00
terrafrost
1fab947f01 SSH2: fixes for noisy channels 2021-10-09 13:21:09 -05:00
terrafrost
b29f134c24 SSH2: CS adjustments 2021-10-09 12:59:48 -05:00
terrafrost
8d4831ad1f SFTP: CS adjustments 2021-10-09 08:26:11 -05:00
terrafrost
e4d2416bdc SSH2: SSH-2.0-CoreFTP is 15 bytes long - not 13 2021-10-09 07:50:10 -05:00
terrafrost
a09eb04296
Merge pull request #1695 from terrafrost/sftpv456
add SFTP v4/5/6 support to phpseclib v1
2021-09-28 20:39:18 -05:00
terrafrost
3ef68bd912 RSA: ssh-keygen -yf private.key fails if \r is present 2021-09-28 08:57:41 -05:00
terrafrost
367fede9c0 rm double _precheck from rename() 2021-09-15 20:23:31 -05:00
terrafrost
f6ae13a092 fixes for setting atime and mtime 2021-09-15 08:33:31 -05:00
terrafrost
d48bdde5c6 update comment 2021-09-14 20:34:30 -05:00
terrafrost
a64103a386 attr wasn't defined 2021-09-14 20:33:11 -05:00
terrafrost
4769de45f0 comment is no longer valid 2021-09-14 09:11:53 -05:00
terrafrost
bb17b35d3e preferentially use SFTPv3, since that's waaaay more tested than any other version 2021-09-14 09:05:41 -05:00