Implemented network encryption (#2343)

For those who fuss about performance, you can disable the `network.enable-encryption` option to use sessions without encryption.
This commit is contained in:
Dylan K. Taylor
2018-07-31 15:54:18 +01:00
committed by GitHub
parent 62cb7963dc
commit 2bf6764112
13 changed files with 556 additions and 176 deletions

145
composer.lock generated
View File

@ -4,8 +4,149 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "2670b9e2a730ff758909be8b9e9d609a",
"content-hash": "85fe0f9aca77848b0f753dbc28815c79",
"packages": [
{
"name": "fgrosse/phpasn1",
"version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/fgrosse/PHPASN1.git",
"reference": "0e27e71e3d0a8d5c3f1471d727fd9574d920f33c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fgrosse/PHPASN1/zipball/0e27e71e3d0a8d5c3f1471d727fd9574d920f33c",
"reference": "0e27e71e3d0a8d5c3f1471d727fd9574d920f33c",
"shasum": ""
},
"require": {
"ext-gmp": "*",
"php": ">=7.0.0"
},
"require-dev": {
"phpunit/phpunit": "~6.3",
"satooshi/php-coveralls": "dev-master"
},
"suggest": {
"php-curl": "For loading OID information from the web if they have not bee defined statically"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"autoload": {
"psr-4": {
"FG\\": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Friedrich Große",
"email": "friedrich.grosse@gmail.com",
"homepage": "https://github.com/FGrosse",
"role": "Author"
},
{
"name": "All contributors",
"homepage": "https://github.com/FGrosse/PHPASN1/contributors"
}
],
"description": "A PHP Framework that allows you to encode and decode arbitrary ASN.1 structures using the ITU-T X.690 Encoding Rules.",
"homepage": "https://github.com/FGrosse/PHPASN1",
"keywords": [
"DER",
"asn.1",
"asn1",
"ber",
"binary",
"decoding",
"encoding",
"x.509",
"x.690",
"x509",
"x690"
],
"time": "2017-12-17T10:21:51+00:00"
},
{
"name": "mdanter/ecc",
"version": "v0.5.0",
"source": {
"type": "git",
"url": "https://github.com/phpecc/phpecc.git",
"reference": "ed5c6d496f5310de1b7071b8375fafa3559a1344"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpecc/phpecc/zipball/ed5c6d496f5310de1b7071b8375fafa3559a1344",
"reference": "ed5c6d496f5310de1b7071b8375fafa3559a1344",
"shasum": ""
},
"require": {
"ext-gmp": "*",
"fgrosse/phpasn1": "v2.0.x",
"php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0",
"squizlabs/php_codesniffer": "~2",
"symfony/yaml": "~2.6|~3.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Mdanter\\Ecc\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Matyas Danter",
"homepage": "http://matejdanter.com/",
"role": "Author"
},
{
"name": "Thibaud Fabre",
"email": "thibaud@aztech.io",
"homepage": "http://aztech.io",
"role": "Maintainer"
},
{
"name": "Thomas Kerin",
"email": "afk11@users.noreply.github.com",
"role": "Maintainer"
}
],
"description": "PHP Elliptic Curve Cryptography library",
"homepage": "https://github.com/phpecc/phpecc",
"keywords": [
"Diffie",
"ECDSA",
"Hellman",
"curve",
"ecdh",
"elliptic",
"nistp192",
"nistp224",
"nistp256",
"nistp384",
"nistp521",
"phpecc",
"secp256k1",
"secp256r1"
],
"time": "2017-10-09T16:05:37+00:00"
},
{
"name": "pocketmine/binaryutils",
"version": "0.1.0",
@ -235,8 +376,10 @@
"php-64bit": "*",
"ext-bcmath": "*",
"ext-curl": "*",
"ext-crypto": "^0.3.1",
"ext-ctype": "*",
"ext-date": "*",
"ext-gmp": "*",
"ext-hash": "*",
"ext-json": "*",
"ext-mbstring": "*",