1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-04 02:27:52 +01:00
Commit Graph

2037 Commits

Author SHA1 Message Date
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