Install better random support for 5.x as suggested by CodeIgniter

This commit is contained in:
FrancescoUK
2017-08-05 19:51:12 +01:00
committed by jekkos
parent 32004f28d4
commit 0530abc5f8
3 changed files with 58 additions and 3 deletions

View File

@@ -21,7 +21,8 @@
"codeigniter/framework": "^3.1.2",
"ins0/google-measurement-php-client": "dev-master#2b3aef2375837339f5b2bfe88e76994481f86264",
"dompdf/dompdf": "^0.7.0",
"tamtamchik/namecase": "^1.0"
"tamtamchik/namecase": "^1.0",
"paragonie/random_compat": "^2.0"
},
"require-dev": {
"mikey179/vfsStream": "1.1.*",

52
composer.lock generated
View File

@@ -4,8 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "7829229f32a5ad3338386388f6eb61f3",
"content-hash": "5f6ba4cd8a7aadbc1220fdce09849270",
"hash": "35a55acb9ed53dbac86383781fa12b13",
"content-hash": "df567f98466ce2053faf0a1d0475afa8",
"packages": [
{
"name": "codeigniter/framework",
@@ -154,6 +154,54 @@
],
"time": "2016-09-07 19:39:27"
},
{
"name": "paragonie/random_compat",
"version": "v2.0.10",
"source": {
"type": "git",
"url": "https://github.com/paragonie/random_compat.git",
"reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/634bae8e911eefa89c1abfbf1b66da679ac8f54d",
"reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d",
"shasum": ""
},
"require": {
"php": ">=5.2.0"
},
"require-dev": {
"phpunit/phpunit": "4.*|5.*"
},
"suggest": {
"ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
},
"type": "library",
"autoload": {
"files": [
"lib/random.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Paragon Initiative Enterprises",
"email": "security@paragonie.com",
"homepage": "https://paragonie.com"
}
],
"description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
"keywords": [
"csprng",
"pseudorandom",
"random"
],
"time": "2017-03-13 16:27:32"
},
{
"name": "phenx/php-font-lib",
"version": "0.4",

View File

@@ -29,6 +29,12 @@
"BSD"
]
},
"paragonie/random_compat": {
"version": "2.0.10",
"license": [
"MIT"
]
},
"phenx/php-font-lib": {
"version": "0.4",
"license": [