Commit Graph

2083 Commits

Author SHA1 Message Date
terrafrost
ea653e1b01 SFTP: add enableDatePreservation() / disableDatePreservation() 2020-07-30 09:12:23 -05:00
Vincent Langlet
05a564c136 Return false by default 2020-07-30 15:42:02 +02:00
terrafrost
d077c7b296 X509: really looong base64 encoded strings broke extractBER() 2020-07-17 07:53:05 -05:00
terrafrost
d8e39b0864 SFTP: change upload packet size from 4KB to 32KB 2020-07-07 23:47:17 -05:00
terrafrost
6537e74746 1.0.19 release 2020-07-07 23:31:58 -05:00
terrafrost
9651d075e3 SSH2: timeout after 5s for channel closures 2020-05-29 08:10:03 -05:00
terrafrost
ef9785d9c5 SFTP: if /path/to/file is a file then /path/to/file/whatever errors 2020-05-10 23:51:16 -05:00
terrafrost
bcaa494af2 ANSI: fix "Number of elements can't be negative" error 2020-05-10 10:25:03 -05:00
terrafrost
a07f5bc6a2 SFTP: realpath('') produced an error 2020-05-01 21:34:44 -05:00
Simon Podlipsky
e29f5bda14 Fix return type hint of SSH2::read() 2020-04-28 22:07:39 -05:00
terrafrost
c301ddf38f SFTP: make it so extending SFTP class doesn't cause a segfault 2020-04-04 12:47:30 -05:00
Tyson Andre
41eb0d8012 Fix logic error reading random bytes from /dev/urandom
Fixes a bug introduced in c2be7e648

Previously, this would return those bytes if the number of bytes read
was **less than** the number of bytes this was trying to read.

In practice, I believe this would mean bytes from /dev/urandom would never
get used.  (Noticed when upgrading phpseclib)
2020-04-03 07:33:58 -05:00
terrafrost
5e2951f83a SFTP: change the mode with a SETSTAT instead of MKDIR 2020-03-28 18:04:26 -05:00
terrafrost
645dc5c817 BACKERS: Jan Slabon -> Setasign 2020-03-12 23:15:34 -05:00
terrafrost
97d0e4164b BACKERS: add Jan Slabon 2020-03-12 08:26:51 -05:00
terrafrost
229f6af1ca SFTP: re-use SSH2 login method 2020-03-09 19:49:20 -05:00
terrafrost
69840093be Merge branch '1.0-speed-up-uploads' into 1.0 2020-03-07 22:21:21 -06:00
terrafrost
95d189ca72 SSH2: try logging in with none as an auth method first 2020-03-07 21:34:38 -06:00
terrafrost
fc0832ae99 ASN1: fix for malformed ASN1 strings 2020-03-02 10:18:30 -06:00
terrafrost
935fa407e3 ASN1: add unit test for malformed ASN1 strings 2020-03-02 10:03:02 -06:00
terrafrost
08e4096e7c SFTP: speed up uploads 2020-02-25 20:37:20 -06:00
terrafrost
db6ce986f3 Revert "SFTP: don't buffer up download requests (PuTTY doesn't)"
This reverts commit 333e2e4c2b.
2020-02-24 22:14:28 -06:00
terrafrost
6cb500d7c8 SSH1: typo 2020-02-04 06:14:40 -06:00
terrafrost
c2be7e6480 return early if fread() response is bool(false) 2020-02-01 17:30:52 -06:00
terrafrost
500e3225a8 SSH2: logging enhancements 2020-01-17 06:06:01 -06:00
terrafrost
ef5e6a909f X509: fix PHP4 errors 2020-01-17 02:12:27 -06:00
terrafrost
333e2e4c2b SFTP: don't buffer up download requests (PuTTY doesn't) 2019-12-25 11:31:43 -06:00
Graham Campbell
1dc39be3dd
Update .travis.yml 2019-12-08 13:05:14 +00:00
Graham Campbell
99024c4e7d
Update .travis.yml 2019-12-08 12:47:31 +00:00
Graham Campbell
3a26b8fc46
Updated Travis Config 2019-12-08 12:40:26 +00:00
terrafrost
a4ed6b80f3 SSH2: make window resizing behave more consistently with PuTTY 2019-11-02 12:42:34 -05:00
terrafrost
74c69cc43c Merge branch '1.0' of https://github.com/phpseclib/phpseclib into 1.0 2019-10-20 14:00:13 -05:00
Brice Figureau
207cd0f4ea (#1423) make PSS verification work for non power of 2 keys
RFC3447 doesn't require RSA public keys to be power of 2 keys.
The actual validation code doesn't work when trying to verify
a PSS signature generated with a non power of two key.
This small patch adds support for such keys.
2019-10-20 13:27:01 -05:00
terrafrost
cafe42ae95
Merge pull request #1417 from bantu/remove-broken-coverage
Remove obsolete code coverage upload solution.
2019-10-05 19:53:22 -05:00
Andreas Fischer
e37b7a7e48 Remove obsolete code coverage upload solution. 2019-10-05 09:43:08 +02:00
terrafrost
a34a4edac5 SSH2: arcfour128 / arcfour256 was being included twice 2019-09-28 12:57:33 -05:00
terrafrost
ee2ac9f818 SSH2: rm code that is never called 2019-09-28 08:32:32 -05:00
terrafrost
d26850e56f SSH2: fix PHP4 compatability issue 2019-09-24 22:18:01 -05:00
terrafrost
e73f1ec910 fix PHP4 compatibility issue 2019-09-22 10:30:58 -05:00
terrafrost
11532ba414 X509: fix pre-5.4 compatability issues 2019-09-18 08:20:33 -05:00
terrafrost
06217429a2 Travis: add PHP 5.3 support 2019-09-18 08:04:16 -05:00
Remi Collet
17610d105c fix tests for 5.3 2019-09-18 08:03:35 -05:00
terrafrost
ec1fcfe648 1.0.18 release 2019-09-16 23:11:10 -05:00
Jamiel
05ea3eafb8 #1405 2019-09-16 23:04:07 +02:00
terrafrost
db324e5d01 1.0.17 release 2019-09-15 18:22:55 -05:00
terrafrost
11fea7d004 fix bug with toBytes() with fixed precision negative numbers 2019-09-15 17:19:35 -05:00
terrafrost
27555c3a47 add BACKERS.md 2019-09-10 20:09:39 -05:00
terrafrost
fbf36728fd SSH2 / SFTP: fix issues with ping() 2019-09-10 17:31:43 -05:00
terrafrost
3ad44cb3d6 SSH2: backport setPreferredAlgorithms() / getAlgorithmsNegotiated() 2019-09-07 19:20:21 -05:00
terrafrost
0b93c5bbd7 Travis: don't run tests on PHP 5.2 or 5.3 2019-08-03 10:45:12 -05:00