Commit Graph

2060 Commits

Author SHA1 Message Date
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
terrafrost
e02c8452d4 ASN1: fail when encountering unsupported tags 2021-04-03 15:54:27 -05:00
terrafrost
10cee4514c Tests/ASN1: test for bad tag 2021-04-03 13:53:20 -05:00
terrafrost
c1d21edb94 Tests/ASN1: add tests for constructed mismatches 2021-04-03 13:44:29 -05:00
terrafrost
8b8cbecb9b ASN1: make sure constructed bit is what it ought to be 2021-04-03 13:15:58 -05:00
terrafrost
6be326e7e7 Tests/ASN1: add test for OID garbage bytes 2021-04-03 12:04:07 -05:00
terrafrost
dbd210c4a7 Tests/ASN1: add test for null garbage bytes 2021-04-03 11:38:11 -05:00
terrafrost
a589442a78 ASN1: uncomment out extra validation code 2021-04-03 11:07:25 -05:00
terrafrost
95f597cfb3 ASN1: tweaks to tag decoding 2021-04-02 13:46:14 -05:00
terrafrost
b90c33200e ASN1: don't allow last octet in OID to have MSB set 2021-04-02 11:00:45 -05:00
terrafrost
2d6705dfbd SSH2: don't close channel on unexpected response to channel request 2021-03-30 22:43:34 -05:00
terrafrost
e209db78b8 Crypt/Base: use a custom error handler for mcrypt 2021-03-19 16:55:58 -05:00
terrafrost
a45ccbacb7 SFTP: digit only filenames were converted to integers by php 2021-03-08 23:03:38 -06:00
terrafrost
b2b867f032 BigInteger: fix issue with toBits on 32-bit PHP 8 installs 2021-02-26 09:17:05 -06:00
lightray22
488db53bf7 fix undefined index notice in stream touch() 2021-02-22 08:54:30 -06:00
terrafrost
d20e842a5e SFTP/Stream: make it so you can write past the end of a file 2021-02-21 18:41:28 -06:00
terrafrost
5bddb7b13f Merge branch '1.0' of https://github.com/phpseclib/phpseclib into 1.0 2021-01-16 10:58:00 -06:00
Jan Slabon
e5a226f6be Added support of keys with PSS algorithm-identifier 2021-01-16 10:31:56 -06:00
terrafrost
7f1b53fb67 SSH2: behave like putty with broken publickey auth 2021-01-12 23:12:19 -06:00
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