diff --git a/composer.json b/composer.json index 8363beca6b..284b2ec4cc 100644 --- a/composer.json +++ b/composer.json @@ -45,6 +45,7 @@ "librenms/plugin-interfaces": "^1.0", "mews/purifier": "^3.4", "nunomaduro/laravel-console-summary": "^1.9", + "paragonie/sodium_compat": "<2.0", "pear/console_color2": "^0.1", "pear/console_table": "^1.3", "pear/net_dns2": "^1.5", diff --git a/composer.lock b/composer.lock index 63fbe5c61e..2678585a8c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "dabb9a7876ed5d206fc8278729d2d417", + "content-hash": "cfd22f9b26f539a6adc0ee571737bfcf", "packages": [ { "name": "amenadiel/jpgraph", @@ -4041,28 +4041,28 @@ }, { "name": "paragonie/sodium_compat", - "version": "v2.0.1", + "version": "v1.21.1", "source": { "type": "git", "url": "https://github.com/paragonie/sodium_compat.git", - "reference": "f65c82939ab17aeff538f9bf6d582f65cc7f255e" + "reference": "bb312875dcdd20680419564fe42ba1d9564b9e37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/f65c82939ab17aeff538f9bf6d582f65cc7f255e", - "reference": "f65c82939ab17aeff538f9bf6d582f65cc7f255e", + "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/bb312875dcdd20680419564fe42ba1d9564b9e37", + "reference": "bb312875dcdd20680419564fe42ba1d9564b9e37", "shasum": "" }, "require": { - "php": "^8.1", - "php-64bit": "*" + "paragonie/random_compat": ">=1", + "php": "^5.2.4|^5.3|^5.4|^5.5|^5.6|^7|^8" }, "require-dev": { - "phpunit/phpunit": "^7|^8|^9", - "vimeo/psalm": "^4|^5" + "phpunit/phpunit": "^3|^4|^5|^6|^7|^8|^9" }, "suggest": { - "ext-sodium": "Better performance, password hashing (Argon2i), secure memory management (memzero), and better security." + "ext-libsodium": "PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.", + "ext-sodium": "PHP >= 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security." }, "type": "library", "autoload": { @@ -4121,9 +4121,9 @@ ], "support": { "issues": "https://github.com/paragonie/sodium_compat/issues", - "source": "https://github.com/paragonie/sodium_compat/tree/v2.0.1" + "source": "https://github.com/paragonie/sodium_compat/tree/v1.21.1" }, - "time": "2024-04-24T12:06:31+00:00" + "time": "2024-04-22T22:05:04+00:00" }, { "name": "pear/console_color2",