terrafrost
685e0abcc6
Hash: save hashed keys for re-use
2018-10-12 21:18:23 -05:00
Filippo Tessarotto
19f706003e
Explain the kraken
2018-10-09 08:35:56 +02:00
terrafrost
016b252bbb
Merge branch '2.0'
2018-10-08 07:36:04 -05:00
terrafrost
3e41dc7c07
Merge branch '1.0' into 2.0
2018-10-08 07:35:56 -05:00
terrafrost
f2d92cd4b2
BigInteger: rm pear.php.net link
2018-10-08 07:35:36 -05:00
terrafrost
edc51aac63
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2018-10-06 14:17:30 -05:00
terrafrost
8705f4b31e
SSH2: update ping method to work with exceptions
2018-10-06 11:41:15 -05:00
terrafrost
c1493a8063
Merge branch '2.0'
2018-10-06 08:02:59 -05:00
terrafrost
0a379a5386
Merge branch '1.0' into 2.0
2018-10-06 01:19:33 -05:00
terrafrost
25c930cc40
SSH2: add ping() method
2018-10-06 01:19:14 -05:00
terrafrost
422533c978
Merge branch '2.0'
2018-10-05 23:01:03 -05:00
terrafrost
c88abcb777
Merge branch '1.0' into 2.0
2018-10-05 22:49:24 -05:00
terrafrost
0c26415f93
SSH2: reset $this->bitmap when the connection fails
2018-10-05 21:27:59 -05:00
terrafrost
44c2003d4b
Merge pull request #1295 from grongor/fix-wrong-method-name
...
Fix invalid method name + usages in comments
2018-09-17 00:45:19 -05:00
terrafrost
4bc53f1251
Merge branch '2.0'
2018-09-17 00:29:24 -05:00
terrafrost
48aa55b7f6
Merge branch '1.0' into 2.0
2018-09-17 00:27:25 -05:00
Michiel Brandenburg
b4e66d343e
Fixes #1296 parsing invalid certificate
2018-09-17 00:25:55 -05:00
Jakub Chábek
bee5fd70d8
Fix invalid method name + usages in comments
2018-09-10 17:20:48 +02:00
terrafrost
f381b1feb1
Merge branch '1.0' into 2.0
2018-09-08 14:42:17 -05:00
terrafrost
f48d85ced9
SSH2: setEngine -> setPreferredEngine
2018-09-08 14:41:28 -05:00
terrafrost
086afadf1b
Merge branch '2.0'
2018-08-20 21:42:00 -05:00
terrafrost
6189452f1b
Merge branch '1.0' into 2.0
2018-08-20 21:41:18 -05:00
terrafrost
bee6183bd7
SSH2: remove utf8_decode calls
2018-08-20 20:50:07 -05:00
terrafrost
6021e74a79
Merge branch '2.0-dsas'
2018-08-18 15:04:51 -05:00
terrafrost
82967a40d4
Merge branch '1.0-dsas' into 2.0
2018-08-18 15:03:25 -05:00
terrafrost
f7f156b537
SFTP: use lstat in rawlist instead of stat
2018-08-18 15:02:42 -05:00
Dean Sas
426dbdbfcd
Ensure SFTP::rawlist gives same results regardless of statcache
...
Previously SFTP::rawlist gave different results depending on whether the
stat cache was enabled or not. With the stat cache turned off it did not
treat directories correctly, as it relied on the stat cache even though
it was not populated.
2018-08-18 08:36:16 -05:00
terrafrost
6973285758
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2018-08-11 23:56:15 -05:00
terrafrost
7740d9c0c0
Hash: add sha3 support
2018-08-11 23:55:41 -05:00
Simon Podlipsky
d598204874
Fix return type for Read()
2018-07-22 14:17:15 +03:00
terrafrost
790b9cb22c
Merge branch '2.0'
2018-07-16 00:57:08 -05:00
terrafrost
49e0b860de
Merge branch '1.0' into 2.0
2018-07-16 00:56:57 -05:00
terrafrost
66f6d517da
X509: teak validateDate
2018-07-16 00:54:16 -05:00
terrafrost
6b275cdcd5
SSH/Agent: CS adjustment
2018-05-27 11:33:37 -05:00
terrafrost
ffb21d7622
SSH/Agent: fix bad merge
2018-05-27 11:27:19 -05:00
terrafrost
03f9a4dc7e
Merge branch '2.0'
2018-05-27 10:54:36 -05:00
terrafrost
04f62f9e9c
SSH2: adjustments for 2.0 branch
2018-05-27 10:48:03 -05:00
terrafrost
b8bb23c9f1
Merge branch '1.0' into 2.0
2018-05-27 10:44:17 -05:00
terrafrost
39a0b652b3
SSH/Agent: add dummy setHash() method
2018-05-27 10:29:56 -05:00
terrafrost
0b2eb54a29
Merge branch '2.0'
2018-05-27 09:55:45 -05:00
terrafrost
2113ffb72c
Merge branch '1.0' into 2.0
2018-05-27 09:52:52 -05:00
terrafrost
b57976ec5f
SSH2: add support for rsa-sha2-256 / rsa-sha2-512 (RFC8332)
2018-05-27 09:48:44 -05:00
terrafrost
8da15ab19b
Merge branch '2.0'
2018-05-19 07:48:42 -05:00
terrafrost
bf71150433
Merge branch '1.0' into 2.0
2018-05-19 07:48:33 -05:00
terrafrost
9b49d3c590
SSH2: fixes relating to delayed global requests
2018-05-19 07:45:44 -05:00
terrafrost
78eb98311f
Merge branch '2.0'
2018-04-29 16:56:35 -05:00
Bilge
8c299f865f
Fixed some RSA docblock types.
2018-04-25 21:18:51 +01:00
terrafrost
28b26b50df
Merge branch '2.0'
2018-04-15 10:31:12 -05:00
terrafrost
bbc651f0b6
Merge branch '1.0' into 2.0
2018-04-15 10:27:46 -05:00
terrafrost
6bfca3df72
X509: CS adjustment
2018-04-14 23:41:00 -05:00
terrafrost
6dc7b3e6b9
ASN1: class is never set as key in _decode_ber
2018-04-14 23:39:05 -05:00
terrafrost
ab270d1602
Merge branch '2.0'
2018-04-10 00:19:49 -05:00
terrafrost
4548b45b9e
Merge branch '1.0' into 2.0
2018-04-09 23:57:25 -05:00
terrafrost
c63c223972
BigInteger: fix for (new BigInteger(48))->toString(true)
2018-04-09 23:47:38 -05:00
terrafrost
a3081aa7f8
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2018-04-03 20:30:27 -05:00
terrafrost
011f6ad200
BigInteger/PHP: make sure that zero is represented uniformly
2018-04-03 20:23:47 -05:00
terrafrost
3dae376e9c
Merge remote-tracking branch 'J5lx/2.0-cfb8' into 2.0
2018-03-27 11:06:11 -05:00
Jakob Gahde
8e6948fdd2
Backport CFB8 support from master
2018-03-27 04:32:16 +02:00
Wes
d4a98457bc
Check phpinfo() is available before using
...
Fixes an issue I raised at https://github.com/phpseclib/phpseclib/issues/1255
Proof of logic at https://3v4l.org/RqrHt
I ended up moving more code than discussed in the issue - initially to avoid `$content` being undefined when it came to `preg_match_all()`, but also as it made sense grouping the code that way. Also, initialising `$versions` outside the check, right at the start ensures it's always defined for the `switch` code further down.
2018-03-24 11:05:16 +00:00
terrafrost
12bd06210c
Merge pull request #1250 from luzpaz/misc-typos
...
Misc. trivial typos
2018-03-03 15:41:58 -06:00
terrafrost
e9bff8a4de
X509: cs updates
2018-03-03 13:57:23 -06:00
terrafrost
1ee4167a03
Merge branch '2.0'
2018-03-03 13:44:36 -06:00
terrafrost
fc90c58f7f
X509: update disable/enableURLFetch to work with 2.0 branch
2018-03-03 13:44:11 -06:00
terrafrost
e3a1e47824
Merge branch '1.0' into 2.0
2018-03-03 13:42:46 -06:00
terrafrost
ea47574317
X509: add methods to enable / disable URL fetching
2018-03-03 13:42:17 -06:00
terrafrost
6c4a108a92
Merge branch 'authority-info-access-2.0' into authority-info-access-master
2018-03-03 08:09:26 -06:00
terrafrost
40730d2977
X509: update intermediate cert changes to work on 2.0 branch
2018-03-03 07:46:03 -06:00
luz.paz
380517ef00
Misc. trivial typos
...
Found via `codespell -q 3`
2018-03-03 07:07:14 -05:00
terrafrost
87decbe94b
Merge branch 'authority-info-access-1.0' into authority-info-access-2.0
2018-03-03 00:15:29 -06:00
terrafrost
f5807e1d4e
X509: auto download intermediate certs
2018-03-02 12:53:15 -06:00
terrafrost
2a6f5f825a
Asymmetric: fix for phar's
...
Inspired by 4e367c9631
2018-02-23 21:15:33 -06:00
terrafrost
b9cd84108c
AES: fix issue preventing ECB mode from decrypting
2018-02-21 08:26:52 -06:00
terrafrost
596d122a76
X509: code cleanup
2018-02-20 10:12:50 -06:00
terrafrost
55384afdac
RSA: make it so you can't sign w/ public key, decrypt w/ private
2018-02-18 16:03:06 -06:00
terrafrost
63b6df29a8
Merge branch '2.0'
2018-02-07 21:24:51 -06:00
terrafrost
473c980d0c
Merge branch '1.0' into 2.0
2018-02-07 21:23:21 -06:00
terrafrost
1468ef1a23
SFTP: fix issue with extended attribute on 64-bit PHP installs
2018-02-07 21:22:54 -06:00
terrafrost
44ac8f3996
Merge branch '2.0'
2018-01-22 07:26:57 -06:00
terrafrost
364e05babf
Merge branch '1.0' into 2.0
2018-01-22 07:22:29 -06:00
terrafrost
92623daba8
BigInteger: fix issues with bitwise_xor
2018-01-22 00:38:42 -06:00
terrafrost
fe71957c37
Merge branch '2.0'
2018-01-21 13:01:06 -06:00
terrafrost
c419f1121f
Merge branch '1.0' into 2.0
2018-01-21 12:38:35 -06:00
terrafrost
8aecafc92f
X509: fix 7.2 error when extensions were removed and new ones added
2018-01-21 12:36:49 -06:00
terrafrost
59faa1d253
Merge branch '2.0'
2018-01-01 13:09:18 -06:00
terrafrost
d0155508e9
Merge branch '1.0' into 2.0
2018-01-01 13:09:05 -06:00
terrafrost
30a11a3951
SFTP: update state cache accordingly when file becomes directory
2018-01-01 13:07:45 -06:00
terrafrost
3c96ca9fd1
Merge branch '2.0-channel-request-updates' into master-channel-request-updates
2017-12-25 19:12:57 -06:00
terrafrost
2a09816088
Merge branch '1.0-channel-request-updates' into 2.0-channel-request-updates
2017-12-25 19:11:13 -06:00
terrafrost
46b5bd413a
SSH2: more channel handling updates
2017-12-25 19:09:20 -06:00
terrafrost
56a644faa8
replace user_error with exceptions in a few more places
2017-12-23 14:32:22 -06:00
terrafrost
239a32ff06
Merge pull request #1222 from rrran/extract_func_phpdoc
...
Add PhpDoc @var for extract() functions
2017-12-23 14:18:28 -06:00
Sokolovskyy Roman
b8d826f04f
Trying to fix unit tests
2017-12-21 10:17:30 +01:00
Sokolovskyy Roman
62ee1a5747
Multiline phpdoc for extract to one liner
2017-12-21 10:14:53 +01:00
terrafrost
c340d62548
Crypt: some of the minimum key lengths were off
2017-12-19 07:04:36 -06:00
terrafrost
4bc1d7d682
Merge branch '1.0' into 2.0
2017-12-18 00:08:00 -06:00
terrafrost
354666c36d
Merge branch 'jude' into 1.0
2017-12-18 00:06:51 -06:00
terrafrost
19a46748a2
Merge branch '2.0'
2017-12-17 16:25:30 -06:00
terrafrost
37922e5b4c
Merge branch '1.0' into 2.0
2017-12-17 15:05:15 -06:00
terrafrost
6930560ae6
more adjustments for ARM CPU's
2017-12-17 14:52:43 -06:00
terrafrost
a5ed1acbae
Merge branch '2.0'
2017-12-14 06:34:43 -06:00
terrafrost
45d6d0aa70
Merge branch 'validation-1.0' into 2.0
2017-12-14 06:34:32 -06:00
terrafrost
36e9992508
X509: serial numbers are biginteger's
2017-12-14 06:22:55 -06:00
terrafrost
446652099a
Merge branch 'validation-1.0' into 2.0
2017-12-13 19:50:37 -06:00
terrafrost
247e969366
X509: simplify revised validation logic and add to CRL validation
2017-12-13 19:36:55 -06:00
mdelikat
d9195ea5bd
validateSignature if subjectKeyIdentifier is not set and check serial number if is set
2017-12-13 19:05:06 -06:00
terrafrost
4f9e92b380
Merge branch '2.0'
2017-12-09 18:59:25 -06:00
terrafrost
87dd553517
Merge branch '1.0' into 2.0
2017-12-09 18:39:27 -06:00
terrafrost
b25681beeb
fix float to int conversions on ARM CPU's
2017-12-09 18:16:48 -06:00
terrafrost
a96add4526
DSA/Signature/SSH2: fix infrequent error with too short sigs
2017-12-05 00:08:56 -06:00
terrafrost
0074539429
Merge branch 'array_to_short_syntax'
2017-12-04 23:03:35 -06:00
Sokolovskyy Roman
c705e7d9c6
Add PhpDoc @var for extract() functions
2017-12-04 11:11:43 +01:00
terrafrost
defe0514a9
Random: CS adjustment
2017-12-03 22:42:58 -06:00
terrafrost
f0b1439639
Merge branch '2.0-travis-exp' into master-travis-exp
2017-12-03 22:41:02 -06:00
terrafrost
2f3c9197d9
Merge branch '1.0-travis-exp' into 2.0-travis-exp
2017-12-03 22:40:31 -06:00
terrafrost
ab5158dcd3
Random: return empty string if $length is 0
2017-12-03 22:39:01 -06:00
terrafrost
1587c5498b
Merge branch '1.0-travis-exp' into 2.0-travis-exp
2017-12-03 20:22:57 -06:00
terrafrost
703f7840db
X509: use anonymous function in PHP >= 5.3.0
2017-12-03 15:55:58 -06:00
terrafrost
a6acafa36c
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2017-11-29 00:14:58 -06:00
Sokolovskyy Roman
966ee7f170
Long array() to short [] syntax
2017-11-27 09:30:14 +01:00
terrafrost
675822df96
Merge branch 'master-is-prime'
2017-11-23 10:25:43 -06:00
terrafrost
c5d0674c20
Merge branch '2.0-is-prime' into 2.0
2017-11-23 10:25:34 -06:00
terrafrost
096289882a
Merge branch '1.0-is-prime' into 1.0
2017-11-23 10:25:28 -06:00
terrafrost
2314b638c7
Merge pull request #1212 from rrran/func_get_args_to_tripple_dots
...
Get rid of func_get_args()
2017-11-23 10:02:59 -06:00
terrafrost
e2e719ee29
Merge branch '2.0'
2017-11-23 09:37:26 -06:00
terrafrost
6e9ece958b
Merge branch '1.0' into 2.0
2017-11-23 09:33:35 -06:00
terrafrost
309fa0af44
SSH/SFTP: more adustments to channel handling
2017-11-23 09:31:34 -06:00
terrafrost
88b34382f9
Merge branch '2.0-is-prime'
2017-11-22 19:52:49 -06:00
terrafrost
cd58e3be1d
Merge branch '1.0-is-prime' into 2.0-is-prime
2017-11-22 19:50:49 -06:00
terrafrost
5ba61146e6
BigInteger: adjustment to isPrime
2017-11-22 19:49:55 -06:00
Sokolovskyy Roman
ee8f5e9769
Get rid of func_get_args()
2017-11-21 09:36:28 +01:00
terrafrost
3065d24b0d
$this->_string_shift -> Strings::shift
2017-11-13 09:27:11 -06:00
terrafrost
e91da39098
Merge branch '2.0'
2017-11-11 23:16:23 -06:00
terrafrost
6a65ea28ec
Merge branch '1.0' into 2.0
2017-11-11 23:15:00 -06:00
terrafrost
b50dde76f5
SSH2: update channel handling in a few more places
2017-11-11 23:08:08 -06:00
terrafrost
17f5292dfb
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2017-11-11 16:39:05 -06:00
terrafrost
c66b31e698
Merge branch '2.0'
2017-11-11 16:13:48 -06:00
terrafrost
1f7e03b43d
Merge branch '1.0-multi-channel-adjustment' into 2.0
2017-11-11 16:00:05 -06:00
terrafrost
0afde6ea43
SSH2: updates to dealing with extraneous channel packets
2017-11-11 15:14:04 -06:00
Jude Rosario
3875d43cb4
Fix PHP 7 global variable rename
...
As described here http://php.net/manual/en/migration70.incompatible.php
2017-11-07 13:48:18 +05:30
terrafrost
d90e9d1b7a
Merge pull request #1204 from comsolit/feature/show-answer-not-understood
...
Unveil received value in unexpected value exceptions (SFTP)
2017-11-05 15:16:40 -06:00
terrafrost
ec579bd9ed
revisions to rrran's PHPDoc changes
2017-11-05 14:35:27 -06:00
terrafrost
10828543ce
Merge remote-tracking branch 'rrran/Fixes3'
2017-11-05 13:16:03 -06:00
terrafrost
5f3c49cbcc
Merge remote-tracking branch 'lzylinl/master'
2017-11-05 12:57:29 -06:00
terrafrost
6f6b93b012
BigInteger/GMP: use gmp_import / gmp_export
2017-11-05 12:33:22 -06:00
terrafrost
5801806d23
BigInteger/GMP: fix casting error
2017-11-05 12:28:16 -06:00
terrafrost
1041131bb1
Merge branch '2.0'
2017-11-05 11:53:59 -06:00
terrafrost
d218020747
Merge branch '1.0' into 2.0
2017-11-05 11:42:08 -06:00
terrafrost
ffcff461c4
X509: URL validation didn't work ( #1203 )
2017-11-05 11:36:41 -06:00
terrafrost
c7606818e0
BigInteger/Engines/PHP: small optimization to EvalBarrett engine
2017-11-05 01:56:04 -05:00
terrafrost
ff595f9951
BigInteger/Engines/PHP: fix issues with EvalBarrett reduction
2017-11-05 01:33:57 -05:00