Commit Graph

1731 Commits

Author SHA1 Message Date
Joey3000
94b669d7ed Reorder array checks
Make sure that `if (isset($arr['__phpseclib_marker']))` is done on an array only.
2016-02-16 20:45:05 +01:00
Joey3000
062aa41ba0 Fixing Uncaught Error: Cannot use object of type test as array
Refs https://github.com/phpseclib/phpseclib/pull/934/files#r53035721
2016-02-16 19:41:41 +01:00
terrafrost
6eb35eb42c Random: a few more tweaks 2016-02-16 09:45:04 -06:00
Joey3000
047f2617f1 Circular reference handling improvement
Refs https://github.com/phpseclib/phpseclib/pull/934/files#r52838650

This does the following:

* Addresses the comments to 102d53bd27

* Fixes an "Allowed memory size of ... bytes exhausted" issue and simplifies the implementation, bringing it closer to the example in https://stackoverflow.com/questions/9042142/detecting-infinite-array-recursion-in-php/9293146#9293146
2016-02-14 13:40:58 +01:00
terrafrost
102d53bd27 Random: fix for issues with serialize() 2016-02-14 00:44:03 -06:00
terrafrost
bfd467532b Crypt/Base: fix continuous mode in CBC / decryption / OpenSSL 2016-02-06 08:59:05 -06:00
terrafrost
b972a4b36d Tests/AES: add unit test for continuous mode 2016-02-05 23:29:20 -06:00
terrafrost
f60e365be2 README: update download link 2016-01-18 11:07:12 -06:00
terrafrost
4500b93ba7 Merge branch '1.0' of https://github.com/phpseclib/phpseclib into 1.0 2016-01-18 10:28:19 -06:00
Prayag Verma
008b628548 Update license year range to 2016 2016-01-18 10:27:43 -06:00
terrafrost
1d1592b6d0 CHANGELOG: add 1.0.1 changes 2016-01-18 07:45:13 -06:00
terrafrost
75cc73f07a TravisCI: drop 5.3.3 due to compose errors on it 2016-01-17 09:35:18 -06:00
terrafrost
0905143fc1 SSH/Agent: fix possible PHP Warning 2016-01-13 16:51:12 -06:00
Michele Locati
c24ee966ad Exclude some dirs and files from repository auto-generated ZIP archives 2016-01-12 09:37:17 -06:00
terrafrost
62fc4bbc88 Merge branch '1.0' of https://github.com/phpseclib/phpseclib into 1.0 2016-01-08 10:42:59 -06:00
terrafrost
7ad9eade2d BigInteger: fix issue with doing bitwise not on 0 2016-01-08 10:31:48 -06:00
terrafrost
1be0ac9f7f SFTP/Stream: fix issue with filenames with hash in them 2015-12-23 13:13:06 -06:00
terrafrost
57063f3604 SSH2: add isAuthenticated() method 2015-12-15 23:19:05 -06:00
terrafrost
cae579a19b Tests/BigInteger: update testDebugInfo test 2015-12-14 13:26:56 -06:00
terrafrost
786cecf309 Merge branch '1.0' into identifier-update-1.0 2015-12-14 11:07:42 -06:00
terrafrost
b9ce54aae9 Travis: re-add hhvm and use zenovich github repo only 2015-12-13 16:16:50 -06:00
terrafrost
f17f1b2baf Merge branch '1.0' of https://github.com/phpseclib/phpseclib into small-tweaks-2 2015-12-11 13:44:39 -06:00
terrafrost
d8b74a7ee0 SSH2: update unit test 2015-12-07 22:02:02 -06:00
terrafrost
c655b16f75 BigInteger: add engine to __debugInfo output and add unit test 2015-12-07 15:22:53 -06:00
terrafrost
faa977c587 Merge branch '1.0' into identifier-update-1.0 2015-12-07 15:20:45 -06:00
terrafrost
fe6e60c5bd Travis: rm hhvm 2015-12-07 15:00:17 -06:00
terrafrost
c0632bb8af Travis: compile GNU Parallel 2015-12-06 23:30:37 -06:00
terrafrost
ee0f45fea6 update identifier to current version 2015-12-05 10:33:28 -06:00
Andreas Fischer
9f0f8fd7e5 Correct indentation on pvno array definition. 2015-12-05 10:33:28 -06:00
Andreas Fischer
45dd6651af Merge pull request #885 from bantu/fix-884-1.0
Correct indentation on pvno array definition.

* bantu/fix-884-1.0:
  Correct indentation on pvno array definition.
2015-12-01 10:06:19 +01:00
Andreas Fischer
2e8e4bf04a Correct indentation on pvno array definition. 2015-11-29 18:44:21 +01:00
Andreas Fischer
ae99173aed Merge pull request #883 from bantu/pr-876-1.0
Fix PHP invalid index warning

* bantu/pr-876-1.0:
  Fix PHP invalid index warning
2015-11-24 09:28:00 +01:00
splitice
77d5f8da20 Fix PHP invalid index warning 2015-11-24 09:13:30 +01:00
terrafrost
37535744b2 small tweaks 2015-11-21 22:55:20 -05:00
Andreas Fischer
1021eb3ab1 Merge pull request #875 from bantu/travis-status-image-update-1.0
README: Use the svg Travis image

* bantu/travis-status-image-update-1.0:
  README: Use the svg Travis image
2015-11-19 09:36:44 +01:00
Kevin Ji
e9e5c412ad README: Use the svg Travis image 2015-11-19 09:22:46 +01:00
Andreas Fischer
8abb069478 Merge pull request #865 from terrafrost/rsa-pkcs8-fix
RSA: PKCS8 constant fix for 1.0 branch

* terrafrost/rsa-pkcs8-fix:
  RSA: fix issue with loading PKCS8 specific keys
  Tests/RSA: add unit test for loading PKCS8 specific keys
2015-11-10 10:04:31 +01:00
Andreas Fischer
0f7ec36e3e Merge pull request #863 from mmcev106/composer_test_message_1.0
Removed the deprecated "--dev" argument from the recommended composer…

* mmcev106/composer_test_message_1.0:
  Removed the deprecated "--dev" argument from the recommended composer command.  When that argument is specified, composer prints the following:
2015-11-10 09:45:42 +01:00
terrafrost
7339112e10 RSA: fix issue with loading PKCS8 specific keys 2015-11-09 22:53:50 -06:00
terrafrost
e8d75b2e8d Tests/RSA: add unit test for loading PKCS8 specific keys 2015-11-09 22:10:08 -06:00
Mark McEver
c1659a5842 Removed the deprecated "--dev" argument from the recommended composer command. When that argument is specified, composer prints the following:
You are using the deprecated option "dev". Dev packages are installed by default now.
2015-11-08 09:30:22 -06:00
terrafrost
46bb95a265 X509: improve base64-encoded detection rules 2015-10-22 09:45:40 -05:00
Andreas Fischer
dd34eb1c30 Merge pull request #852 from bantu/sftp-chmod-realpath
Fix SFTP::chmod not using realpath on the filepath

* bantu/sftp-chmod-realpath:
  Add test case for GitHub Issue 850: Realpath in SFTP chmod().
  Fixed a bug in SFTP::chmod not using realpath on the filepath
2015-10-19 00:19:07 +02:00
Andreas Fischer
579e51c58f Add test case for GitHub Issue 850: Realpath in SFTP chmod(). 2015-10-19 00:07:55 +02:00
Bob4ever
b67c690498 Fixed a bug in SFTP::chmod not using realpath on the filepath 2015-10-19 00:05:02 +02:00
terrafrost
5321b9b610 Merge branch 'phpdoc-1.0' into 1.0
Conflicts:
	phpseclib/Crypt/Base.php
	phpseclib/Crypt/DES.php
	phpseclib/Crypt/Rijndael.php
2015-10-13 08:52:52 -05:00
terrafrost
666092c889 Merge branch 'getkeylength' into 1.0 2015-10-12 22:59:46 -05:00
terrafrost
5f1ff099da Crypt/Base: one more cs update 2015-10-12 22:52:56 -05:00
terrafrost
2048a49aac use self:: in phpdoc comments to reduce merge conflicts 2015-10-11 12:22:07 -05:00
terrafrost
19229ed224 phpDoc changes 2015-10-05 13:22:51 -05:00