1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-11 16:49:42 +01:00
Commit Graph

2036 Commits

Author SHA1 Message Date
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
terrafrost
9ae2b0030d SFTP: update get(), put() and touch() 2021-09-13 09:08:48 -05:00
terrafrost
5fcba4627f update rename 2021-09-11 21:24:43 -05:00
terrafrost
6303fbac9e fix OpenSSH detection 2021-09-09 05:39:20 -05:00
terrafrost
ced7dab1d5 update symlink 2021-09-08 09:34:16 -05:00
terrafrost
41b5f7cfe9 tweak version management stuff 2021-08-29 13:11:26 -05:00
terrafrost
42b4ab065b typo 2021-08-29 13:04:32 -05:00
terrafrost
4102bbaccc add precheck in a few more places 2021-08-29 13:02:09 -05:00
terrafrost
19e7737ead fix _precheck 2021-08-29 13:00:21 -05:00
terrafrost
c9e4944370 pwd didn't work if called first 2021-08-27 21:57:38 -05:00
terrafrost
a25d3a75d3 fix pre-php-5.4 syntax error 2021-08-27 12:40:38 -05:00
terrafrost
69dba39bc9 update chown / chgrp if stmt 2021-08-26 20:18:27 -05:00
terrafrost
dbfc762257 update chown and chgrp to wor with sftpv4+ 2021-08-26 18:26:57 -05:00
terrafrost
1f1e2794c7 add attribute reading for sftpv6 2021-08-26 09:23:33 -05:00
terrafrost
fc40727cfb SFTP: add disableArbitraryLengthPackets() 2021-08-24 20:22:29 -05:00
Nick Lassonde
20500123e5 add option to allow arbitrary length packets, for servers like OpenText which sends extremely long directory listings 2021-08-24 20:18:52 -05:00
terrafrost
f56158e73f add attribute reading for sftpv5 2021-08-01 23:16:31 -05:00
terrafrost
092bad12c5 add attribute reading for sftpv4 2021-07-31 15:38:21 -05:00
terrafrost
4cb6bcb75e add setPreferredVersion() and other changes 2021-07-31 13:00:52 -05:00
terrafrost
0ec9d2bdf1 SFTP: CS adjustments 2021-07-28 20:33:52 -05:00
Nick Lassonde
dab514faff timeout in _get_channel_packet during _init_sftp_connection should be a failure 2021-07-28 20:01:19 -05:00
terrafrost
a02526e5e0 SFTP: return false if get_channel_packet returns false 2021-07-05 08:33:42 -05:00
terrafrost
bf88ba4382 incremental commit 2021-06-25 11:29:03 -05:00
terrafrost
973bb072a0 ASN1: return false when not enough bytes are available 2021-06-24 21:36:03 -05:00
terrafrost
0673370eda SFTP: don't check SFTP packet size after SFTP initialization 2021-06-15 07:24:34 -05:00
terrafrost
c3560c2d4d RSA: OAEP decryption didn't check labels correctly 2021-06-12 07:06:08 -05:00
terrafrost
0a2dc24489 X509: extra characters before cert weren't being removed 2021-05-23 10:38:11 -05:00
terrafrost
915d1d8ca9 SSH2: fix PHP7.4 errors about accessing bool as string 2021-05-18 22:00:59 -05:00
terrafrost
8204273978 SSH2: fix issue with key re-exchange 2021-05-15 22:22:14 -05:00
terrafrost
9a7cfafc8d SSH2: timeout would occasionally infinitely loop
this was changed from !$this->curTimeout to $this->curTimeout <= 0
in commit 96c4c3bc58
2021-05-14 12:55:06 -05:00
terrafrost
9c47b0a696 SFTP: reopen channel on channel closure 2021-05-11 20:20:46 -05:00
danieljankowski
b07738814e ASN1: fix timezone issue when non-utc time is given 2021-05-09 07:08:20 -05:00
terrafrost
0e3ef812c3 CS adjustments 2021-05-02 08:37:19 -05:00
nickyb
aa8138a330 Support for continue auth methods. 2021-05-02 08:12:24 -05:00
terrafrost
8bc9f4ba25 Travis: don't use parallels or xdebug 2021-04-17 06:14:50 -05:00
terrafrost
05550b9c49
Merge pull request #1635 from terrafrost/moosa-1.0
cleanup RSA PKCS#1 v1.5 signature verification (CVE-2021-30130)
2021-04-06 08:42:18 -05:00
terrafrost
149b4d2131 RSA: fix for PHP8 2021-04-03 18:16:59 -05:00
terrafrost
8af4280bde RSA: misc fixes for 'without NULL' PKCS1 signature validation 2021-04-03 17:55:12 -05:00
terrafrost
581fbdb671 CS adjustments 2021-04-03 16:41:10 -05:00
terrafrost
5fca2bcb7b Tests/RSA: test requires sha256 2021-04-03 16:33:52 -05:00
terrafrost
4a3e08c273 RSA: tweak to new validation method 2021-04-03 16:33:23 -05:00
terrafrost
7a5846ccee Test/RSA: add test for "strict" PKCS1 sigs without NULLs 2021-04-03 16:18:31 -05:00
terrafrost
9af9d69c19 RSA: support "strict" PKCS1 sigs without NULLs 2021-04-03 16:00:42 -05:00