Commit Graph

1968 Commits

Author SHA1 Message Date
terrafrost
df94788edf Tests/X509: update unit test 2021-01-07 20:36:09 -06:00
terrafrost
9de5f3f8ed X509: always parse the first cert of a bundle 2021-01-07 20:21:27 -06:00
terrafrost
6c090804e7
Merge pull request #1554 from williamdes/1.0
Fix a Doctum 5.3.0-dev phpdoc reported error
2020-12-30 05:24:37 -06:00
William Desportes
1f66009c1b
Fix a Doctum 5.3.0-dev phpdoc reported error 2020-12-19 21:28:29 +01:00
terrafrost
c21147a5bd SFTP: clean up real time logging 2020-12-19 01:05:36 -06:00
Remi Collet
cfa7d491bf Simplify test 2020-12-17 08:53:58 -06:00
terrafrost
b2bdbaa4f4 README: update for 3.0.0 release 2020-12-16 23:33:42 -06:00
terrafrost
2b5e205aec Merge branch 'keepalive-1.0' into 1.0 2020-12-16 23:14:49 -06:00
terrafrost
0399faa86b SSH2: syntax error 2020-12-16 09:10:35 -06:00
terrafrost
8d567cdf29 SSH2: keepalive tweak 2020-12-16 08:26:03 -06:00
terrafrost
f0501ff72b SSH2: get_binary_packet() doesn't know about channel type 2020-12-15 23:11:54 -06:00
terrafrost
194e642448 SSH2: handle keepalive@openssh.com packets 2020-12-15 08:25:42 -06:00
terrafrost
e6abc61f45 rm adding of dupe classes (they break annotations) 2020-12-12 21:39:58 -06:00
terrafrost
245a84b57f make unit tests pass without gnu parallel 2020-12-12 17:26:44 -06:00
terrafrost
266f16816a enable unit tests for PHP 8 / PHPUnit 9 2020-12-12 15:11:04 -06:00
terrafrost
ee4af462b6 SSH2: end connection faster for algorithm mismatch 2020-12-07 08:00:44 -06:00
terrafrost
0b20aff6ff SFTP: CS adjustments 2020-11-26 21:08:49 -06:00
Adrian
9547587cb7 SFTP: add stream to get method 2020-11-26 18:56:02 -06:00
terrafrost
40b67bf939 README: travis-ci.org -> travis-ci.com 2020-11-21 11:55:24 -06:00
terrafrost
d9196e4a83 X509: fix unit test for multi-cert pems 2020-11-02 19:54:11 -06:00
Thomas A. Hirsch
b2ae60f0a9 $progressCallback should be called after a specific amount of data has been received and not, if its just requested, as the requested packets might be more as the available and received data. 2020-10-31 15:05:05 -05:00
terrafrost
00c9edc058 X509: don't attempt to parse multi-cert PEMs 2020-10-29 21:30:01 -05:00
terrafrost
96c4c3bc58 SSH2: add setKeepAlive() method 2020-09-28 06:17:49 -05:00
William Desportes
2ae683479a
Fix phpdoc errors 2020-09-09 09:43:26 +02:00
terrafrost
2e9d5a99c7 Merge branch '1.0' of https://github.com/phpseclib/phpseclib into 1.0 2020-08-31 05:13:38 -05:00
terrafrost
f4e017f383 SFTP: "fix" rare resource not closed error 2020-08-30 08:21:50 -05:00
Andreas Fischer
cee2ffc064 Merge pull request #1515 from code-lts/1.0-build
Remove api from build target

* github.com:phpseclib/phpseclib:
  Remove api from build target
2020-08-21 19:35:48 +02:00
William Desportes
3fe698e9ae
Remove api from build target 2020-08-21 18:46:51 +02:00
Andreas Fischer
de49d701b0 Merge pull request #1513 from code-lts/master
Move Doctum config files to phpseclib/api-docs

* github.com:phpseclib/phpseclib:
  Move Doctum config files to phpseclib/api-docs
2020-08-21 18:18:32 +02:00
William Desportes
ceab38e0b8
Move Doctum config files to phpseclib/api-docs
Fixes: #1365
Closes: #416
Closes: #1506
2020-08-21 18:06:03 +02:00
terrafrost
ded9b3043f SSH2: suppress 'broken pipe' errors 2020-08-17 07:28:17 -05:00
terrafrost
239bc63618 SSH2: uploads on low speed networks could get in infinite loop 2020-08-09 11:00:12 -05:00
terrafrost
a019cf3f33
Merge pull request #1503 from VincentLanglet/default
_parseKey should return false by default
2020-08-01 04:05:17 -05:00
terrafrost
40b4f1d557 SSH2: when building algo list look at if crypto engine is set 2020-07-31 08:05:31 -05:00
terrafrost
c7d7b36018 SSH2: don't try to login as none auth method for CoreFTP server 2020-07-31 02:49:21 -05:00
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