1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-03 10:07:47 +01:00
Commit Graph

2300 Commits

Author SHA1 Message Date
terrafrost
2c1994805b ECDSA: make it so hash can't be changed for Ed25519 / Ed448 2018-11-29 10:05:28 -06:00
terrafrost
669ba5224f SSH2: rm debug code 2018-11-23 00:50:56 -06:00
terrafrost
e006f5b326 Merge branch '2.0' 2018-11-22 21:55:51 -06:00
terrafrost
f3ea7ae986 Merge branch '1.0' into 2.0 2018-11-22 21:19:33 -06:00
terrafrost
8f2a0e6f0d System/SSH/Agent: add support for rsa-sha2-256 / rsa-sha2-512 2018-11-22 20:47:15 -06:00
terrafrost
e1961c598d Merge branch '2.0' 2018-11-22 13:33:35 -06:00
terrafrost
476cb127b1 X509: fix errors with validateDate 2018-11-22 13:28:42 -06:00
terrafrost
9ccfaff7ba expand on eval() explanation 2018-11-20 08:26:17 -06:00
terrafrost
0398f7a815 add ECDSA / EdDSA support 2018-11-19 12:39:21 -06:00
Sebastiaan Andeweg
396b9f1a0a fix order of user_error() and bitmap reset 2018-11-11 16:04:30 +01:00
Sebastiaan Andeweg
ca695f5bdd fix order of user_error() and bitmap reset 2018-11-09 16:36:50 +01:00
terrafrost
99dcf43a7a Merge branch '1.0' into 2.0 2018-10-13 08:21:22 -05:00
terrafrost
048635669e Crypt/Base: create hmac object outside of while loop 2018-10-13 08:20:09 -05:00
terrafrost
405ed06e8a Merge branch '2.0' 2018-10-13 08:18:47 -05:00
terrafrost
3119bb98e3 Merge branch '1.0' into 2.0 2018-10-13 08:15:46 -05:00
terrafrost
f0f7350045 Crypt/Base: if derived key length is 0 or less use hash length 2018-10-13 08:10:34 -05:00
terrafrost
39d3ffbeb1 Hash: use hash method for sha3 when available 2018-10-13 07:48:47 -05:00
terrafrost
3df87e8632 Merge branch '2.0' 2018-10-13 00:50:48 -05:00
terrafrost
f938922cfc Merge branch '1.0' into 2.0 2018-10-12 23:05:42 -05:00
terrafrost
2d7aadc689 Hash: tweaks to hash pre-computation 2018-10-12 23:04:57 -05:00
terrafrost
a1513eb02f Merge branch '2.0' 2018-10-12 22:44:14 -05:00
terrafrost
f5a9c0806a Merge branch '1.0' into 2.0 2018-10-12 21:44:52 -05:00
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
terrafrost
5eec16041d BigInteger/Engines/PHP: HAC 14.42.2 does mod $b^{k+1}$ 2017-11-04 12:28:38 -05:00
terrafrost
f01cc6b099 BigInteger/Engines/PHP: fix issue with regular barrett engine 2017-11-04 02:16:01 -05:00
terrafrost
410e5aed96 BigInteger/Engines/PHP: use regular barrett for PHP32 engine 2017-11-04 02:15:32 -05:00
Peter Bittner
31b02fe7cc Unveil received value in unexpected value exceptions (SFTP) 2017-11-02 14:36:22 +01:00
Sokolovskyy Roman
f40ea062c2 Lots of PHPDoc fixes 2017-10-25 11:44:14 +02:00
terrafrost
a5038e2fd9 Merge branch 'master' of https://github.com/phpseclib/phpseclib 2017-10-24 07:48:24 -05:00
zylin
2fcc294cc6 Sometimes at php7 uniqid() return same result as their previous call. Here generates few equal labels wich makes error on eval. Does not know why uniqid() return same values but this is fact and my construction is more correct than previous. No need to call label id generation and use dirty goto :') 2017-10-23 22:31:18 +02:00
terrafrost
7a2f2e8e6b BigInteger\PHP: self::$primes -> static::$primes 2017-10-21 12:32:56 -05:00
terrafrost
0a912b4818 Merge pull request #1193 from eternalharvest/bugfix/doccomment
Fix wrong doccomment annotation and Suggestion
2017-10-10 06:03:03 -05:00
terrafrost
37abd02cc9 Merge pull request #1192 from eternalharvest/feature/aes_mode_cfb8
Add 'cfb8' cipher mode of operation support
2017-10-10 05:41:25 -05:00
Takuya Sawada
9e037309b9 SymmetricKey: refactor to simplify the code 2017-10-10 19:06:14 +09:00
Takuya Sawada
65cbc60918 SymmetricKey: fix indent style to follows the PSR-2 codeing style 2017-10-10 19:02:55 +09:00
terrafrost
ce92283c10 Merge branch '2.0' 2017-10-05 05:42:38 -05:00
terrafrost
6d51f2bf85 BigInteger: update bitwise_not fix for 2.0 2017-10-05 05:39:00 -05:00
terrafrost
245e7a15ca Merge branch '1.0' into 2.0 2017-10-05 05:37:56 -05:00
terrafrost
a7ebe7d39d BigInteger: fix bitwise_not for 0 2017-10-05 05:37:42 -05:00
terrafrost
29fabaaa18 RSA: replace != with !$this->_equals 2017-10-05 05:31:19 -05:00
terrafrost
d1470644a2 Merge branch '1.0' into 2.0 2017-10-05 05:28:47 -05:00
terrafrost
aeb8a98a25 Crypt/Base: fix version_compare call 2017-10-05 05:28:16 -05:00
terrafrost
33de8b82d6 Merge branch '1.0' into 2.0 2017-10-05 05:26:49 -05:00
terrafrost
042c8a9239 RC4: don't assume key is "\0" by default 2017-10-05 05:26:23 -05:00
Takuya Sawada
7aa400745c SymmetricKey: add Eval engine implementation for 'cfb8' cipher mode of operation 2017-10-05 19:06:47 +09:00
Takuya Sawada
8604e327a3 SymmetricKey: add 'cfb8' cipher mode of operation support 2017-10-05 19:06:45 +09:00
Takuya Sawada
e3bdbf5e0a fix doccomment annotations 2017-10-05 18:46:59 +09:00
terrafrost
2608074e74 Merge branch '1.0-use-eval' into 2.0-use-eval 2017-10-04 17:08:27 -05:00
terrafrost
98d46db7c5 Crypt/Base: use eval() instead of create_function() for >= 5.3 2017-10-04 17:03:14 -05:00
terrafrost
03e15a5ab9 BigInteger: make constructor catch behave same as setEngine 2017-10-01 07:55:00 +01:00
terrafrost
256ffcca7b Merge remote-tracking branch 'pcf0/fix-biginteger-badconfigurationexception' 2017-10-01 07:53:54 +01:00
terrafrost
1c0ee79999 Merge branch 'master' of https://github.com/phpseclib/phpseclib 2017-10-01 07:04:17 +01:00
terrafrost
fabb42c20d Merge branch '2.0' 2017-09-30 22:56:43 +01:00
terrafrost
836d452acd Merge branch '1.0' into 2.0 2017-09-30 22:56:32 +01:00
terrafrost
6f47ef808e X509: fix issues when using datetime without a timezone set in ini 2017-09-30 22:54:33 +01:00
terrafrost
1f7d1bc18a Revert "date format fix"
This reverts commit 508f04fab8.
2017-09-30 22:50:24 +01:00
terrafrost
4f2ece4d7d Merge remote-tracking branch 'rrran/Bugfixes2' 2017-09-30 22:50:06 +01:00
terrafrost
1e9d20364c Merge pull request #1182 from eternalharvest/bugfix/doccomment
Fix wrong doccomment annotation of return type
2017-09-30 08:07:06 +01:00
terrafrost
af6048b48e AsymmetricKey: visibility fixes 2017-09-30 07:58:07 +01:00
PCF
43803c6872
Catch BadConfigurationException in BigInteger 2017-09-30 02:47:00 +02:00
terrafrost
fc6a97083c Merge branch '2.0' 2017-09-29 21:34:51 +01:00
Martijn Smit
b3add4491d Replace extension_loaded with forward compatible function exists check 2017-09-29 21:33:57 +01:00
Takuya Sawada
5a87cc525f fix wrong doccomment annotation of return type 2017-09-18 02:23:14 +09:00
Sokolovskyy Roman
c6020a4c42 Unit tests fixes.
A PHPDoc fix
2017-09-14 09:42:37 +02:00
Sokolovskyy Roman
508f04fab8 date format fix 2017-09-11 13:33:43 +02:00
Sokolovskyy Roman
4f399d5c33 Merge remote-tracking branch 'origin/master' into Bugfixes2 2017-09-11 11:13:03 +02:00
terrafrost
58768cb5aa Merge branch 'gmp-1.0' into gmp-2.0 2017-09-10 15:02:34 -05:00
terrafrost
b6d0e37432 BigInteger: use gmp_import / gmp_export when available 2017-09-10 14:56:57 -05:00
terrafrost
1fafe157d6 SSH2: fix bad merge 2017-09-06 00:44:38 -05:00
terrafrost
e50d8ea51c Merge branch '1.0' into ssh2-fix-multi-channel-1.0 2017-09-06 00:30:11 -05:00
terrafrost
ac19043c8b Merge branch 'ssh2-fix-multi-channel-2.0' into ssh2-fix-multi-channel-master 2017-09-05 23:42:05 -05:00
terrafrost
eeaef39827 Merge branch 'ssh2-fix-multi-channel-1.0' into 2.0 2017-09-05 23:22:09 -05:00
terrafrost
9228d7b5c9 Merge branch '2.0' 2017-09-05 22:00:45 -05:00
terrafrost
a7eb9099f1 Merge branch '1.0' into 2.0 2017-09-05 22:00:35 -05:00
terrafrost
deb485c0e1 SFTP: fix put() with remote file stream resource (#1177) 2017-09-05 21:59:51 -05:00
terrafrost
ee3fd38682 SSH2: fix typo in comment found by Iewa 2017-08-29 07:42:51 -05:00
terrafrost
a3325d102e SSH2: don't choke when getting response from diff channel in exec() 2017-08-29 00:17:48 -05:00
terrafrost
f257fceabb Merge branch '2.0' 2017-08-28 23:32:19 -05:00
terrafrost
df1a650485 Merge branch '1.0' into 2.0 2017-08-28 23:31:51 -05:00
terrafrost
4b1102de7e X509: updates to DateTime integration 2017-08-28 23:29:03 -05:00
terrafrost
ae210871e3 Merge branch '2.0' 2017-08-28 22:45:18 -05:00
terrafrost
e669624ef5 Merge branch '1.0' into 2.0 2017-08-28 22:45:09 -05:00
terrafrost
c7e67721a2 SSH2: CS adjustment 2017-08-28 22:44:58 -05:00
terrafrost
ee5172ece5 Merge branch 'arcfour256-fix-2.0' 2017-08-27 12:33:19 -05:00
terrafrost
c4be683936 Merge branch 'arcfour256-fix-1.0' into 2.0 2017-08-27 02:43:31 -05:00
terrafrost
e5b4eef91f SSH2: workaround for bad arcfour256 implementations 2017-08-26 20:17:59 -05:00
terrafrost
143d28bafa Merge branch '1.0' of https://github.com/phpseclib/phpseclib into 1.0 2017-08-25 00:13:32 -05:00
terrafrost
b27655a262 Merge branch '2.0' 2017-08-24 23:56:08 -05:00
terrafrost
4202f653ef Merge branch '1.0' into 2.0 2017-08-24 23:55:27 -05:00
terrafrost
9cbfd23cb6 SSH2: assume any SSH server >= 1.99 supports SSH2 2017-08-24 23:52:27 -05:00
terrafrost
c43ebe3a0a Merge branch 'datetime-2.0' into datetime-master 2017-08-24 12:50:47 -05:00
terrafrost
221a9be8e6 Merge branch 'datetime-1.0' into datetime-2.0 2017-08-24 12:50:00 -05:00
terrafrost
09c17b1a31 ASN1 / X509: update to use DateTime instead of unix time 2017-08-24 12:48:15 -05:00
Sokolovskyy Roman
25c1ae6e00 Merge remote-tracking branch 'origin/master' into Bugfixes2 2017-08-09 12:28:02 +02:00
terrafrost
04fce0b39b Merge branch '2.0' 2017-08-08 22:04:59 -05:00
terrafrost
a4c79db37a Merge branch '1.0' into 2.0 2017-08-08 21:53:07 -05:00
terrafrost
5c792f6bc1 ANSI: fix E_NOTICE when overflowing text overflows screen vertical 2017-08-08 21:44:22 -05:00
terrafrost
9d8f014748 SymmetricKey: isValidKey took ints instead of strings 2017-08-07 23:57:02 -05:00
terrafrost
e7e30cd239 BigInteger: undo visibility changes 2017-08-07 22:38:56 -05:00
terrafrost
3fcce89f78 Merge remote-tracking branch 'rrran/Bugfixes' 2017-08-07 21:47:06 -05:00
terrafrost
93a3139475 Merge branch 'pre-1157-changes' 2017-08-07 21:46:28 -05:00
terrafrost
520c56a797 Merge branch 'send-kex-and-id-first-or-last-2.0' 2017-08-07 20:09:26 -05:00
terrafrost
dfb6770891 Merge branch 'send-kex-and-id-first-or-last-1.0' into 2.0 2017-08-07 18:37:11 -05:00
terrafrost
7ccb0d0b02 SSH2: send KEXINIT packet and identification string first or last 2017-08-07 00:34:58 -05:00
terrafrost
9f540a82e6 minor fixes to X509 and SSH2 2017-08-06 17:29:30 -05:00
terrafrost
0ac8b5d5ed ASN1: rm unused method (decodeLength) 2017-08-06 10:30:29 -05:00
Sokolovskyy Roman
55cacdf7cd More PHPDOC fixes 2017-08-04 12:06:25 +02:00
Sokolovskyy Roman
eb21fb2bcb Default value for a parameter missed 2017-08-03 11:25:20 +02:00
Sokolovskyy Roman
de2e4662b0 Fixed wrong use of new self(1); 2017-08-03 09:26:46 +02:00
Sokolovskyy Roman
7bffa6bb8f Set of PHPDOC fixes 2017-08-03 09:26:09 +02:00
Sokolovskyy Roman
6f36c49baa Fixed methods visibility 2017-08-03 09:20:33 +02:00
Sokolovskyy Roman
d13f429b77 PHPDOC fixes 2017-08-03 09:20:17 +02:00
Sokolovskyy Roman
f314f9795f Fixed methods visibility 2017-08-03 09:20:05 +02:00
Sokolovskyy Roman
0fd58aeb7e Set of PHPDOC fixes
Fixed methods visibility
2017-08-03 09:19:11 +02:00
Sokolovskyy Roman
ccfb6c92bf Set of PHPDOC fixes 2017-08-03 09:16:37 +02:00
Sokolovskyy Roman
6181b2bfbd Set of PHPDOC fixes 2017-08-03 09:16:16 +02:00
Sokolovskyy Roman
5583703040 Set of PHPDOC fixes 2017-08-03 09:15:16 +02:00
Sokolovskyy Roman
a3b252150b Set of PHPDOC fixes 2017-08-03 09:14:32 +02:00
Sokolovskyy Roman
f48995ac96 Wrong class name fix
PHPDOC fixes
2017-08-03 09:13:44 +02:00
Sokolovskyy Roman
0c6d8607ce added missing use statement
PHPDOC fix
2017-08-03 09:12:56 +02:00
Sokolovskyy Roman
5fe61b325d PHPDOC fix 2017-08-03 09:12:07 +02:00
Sokolovskyy Roman
167718a046 Set of PHPDOC fixes 2017-08-03 09:11:44 +02:00
terrafrost
bf537059b1 Merge branch '2.0' 2017-07-30 16:20:38 -05:00
terrafrost
f68a85e99b SSH1: backport fixes from rrran 2017-07-30 16:19:23 -05:00
terrafrost
4a7d3d27ba DSA/Signatures/SSH2: self generated signatures wouldn't verify 2017-07-30 16:03:47 -05:00
terrafrost
610d3d6ea0 Merge remote-tracking branch 'rrran/Bugfixes' 2017-07-30 15:58:12 -05:00
terrafrost
c5a73e948f Merge branch '2.0' 2017-07-30 10:18:41 -05:00
terrafrost
6922e6d476 Merge branch '1.0' into 2.0 2017-07-30 10:18:31 -05:00
Yannick Breuer
acebfe28d6 DOC: Fix sftp errors var type 2017-07-30 10:18:08 -05:00
Sokolovskyy Roman
3df0f7ccb4 Added missing break in case (reverted from commit 31d9cf3015) 2017-07-20 14:56:54 +02:00
Sokolovskyy Roman
800b81d3ef remove unneeded strlen call 2017-07-20 11:36:51 +02:00
Sokolovskyy Roman
65d9e2bb49 Added missin break
removed return statement
2017-07-20 11:35:08 +02:00
Sokolovskyy Roman
cc3f0c1ec1 Added missing private field 2017-07-20 11:10:06 +02:00
Sokolovskyy Roman
c603c2b2d0 Remove unused use
Fix in PHPDoc block
Wrong variable name fix
2017-07-20 11:09:29 +02:00
Sokolovskyy Roman
7a25abe60a PHPDoc fix
Using property instead of method call fix
2017-07-20 11:08:03 +02:00
Sokolovskyy Roman
654bb1a704 Function setVar should not retun a value 2017-07-20 11:03:26 +02:00
Sokolovskyy Roman
31d9cf3015 Added missing break in case 2017-07-20 11:02:26 +02:00
Sokolovskyy Roman
0178d4f56e Fix: Local variable to property
Fix: Constants names
2017-07-20 11:01:47 +02:00
terrafrost
669a7542ea Merge branch '2.0' 2017-07-16 11:32:15 -05:00
terrafrost
de18148e80 Merge branch '1.0' into 2.0 2017-07-16 11:32:04 -05:00
terrafrost
84d1628cb7 ANSI: make it so x position can't be negative 2017-07-16 11:31:25 -05:00
terrafrost
7ef3864d22 RSA: RSAKeyValue -> RSAKeyPair for XML private keys 2017-06-28 23:19:50 -05:00
terrafrost
b46bedbdf7 SymmetricKey: use static::class instead of getClassContext() method 2017-06-28 07:34:51 -05:00
terrafrost
4171262b9e SymmetricKey: use strings for constructor and setPreferredEngine 2017-06-28 06:54:10 -05:00
terrafrost
819a165246 RSA: add enableBlinding() / disableBlinding() static methods 2017-06-26 23:19:30 -05:00
terrafrost
1630a6710d RSA/DSA: support XML keys with XML declarations 2017-06-26 21:58:20 -05:00
terrafrost
62a8047fa1 Hash: use hash extension for sha512/224 & sha512/256 on PHP 7.1+ 2017-06-26 21:45:29 -05:00
terrafrost
5fe629a171 BigInteger: modularize / modernize class and add new powmod engines 2017-06-26 20:07:10 -05:00
Matej Kravjar
47c419545a Fixed #632 Fatal error: Cannot access self:: when no class scope is active 2017-06-20 12:43:42 +02:00
terrafrost
0bbac3ebed Merge branch '2.0' 2017-06-19 22:37:21 -05:00
terrafrost
3cbb9516ef Merge branch '1.0' into 2.0 2017-06-19 22:35:22 -05:00