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