From bc1577634808660c7b8de5c79328bc72b92d16d1 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 2 Apr 2024 16:03:12 +0200 Subject: [PATCH] Require 'delight-im/otp' as dependency --- composer.json | 3 +- composer.lock | 125 ++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 124 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index da0d9c0..63a9441 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,8 @@ "ext-openssl": "*", "delight-im/base64": "^1.0", "delight-im/cookie": "^3.1", - "delight-im/db": "^1.3" + "delight-im/db": "^1.3", + "delight-im/otp": "^1.0" }, "type": "library", "keywords": [ "auth", "authentication", "login", "security" ], diff --git a/composer.lock b/composer.lock index 88ec086..fca7ae3 100644 --- a/composer.lock +++ b/composer.lock @@ -1,10 +1,10 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e4acd9e4ba13c4d0692f07a03a454859", + "content-hash": "bd58c65f7efdec6c8ce3972148d59fdf", "packages": [ { "name": "delight-im/base64", @@ -164,6 +164,124 @@ "https" ], "time": "2016-07-21T15:05:01+00:00" + }, + { + "name": "delight-im/otp", + "version": "v1.0.1", + "source": { + "type": "git", + "url": "https://github.com/delight-im/PHP-OTP.git", + "reference": "d012342f5ee3430394b568b46a00c412c24f4f4a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/delight-im/PHP-OTP/zipball/d012342f5ee3430394b568b46a00c412c24f4f4a", + "reference": "d012342f5ee3430394b568b46a00c412c24f4f4a", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "paragonie/constant_time_encoding": "~1.1.0", + "php": ">=5.6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Delight\\Otp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "One-time password (OTP) implementation for two-factor authentication with TOTP in accordance with RFC 6238 and RFC 4226", + "homepage": "https://github.com/delight-im/PHP-OTP", + "keywords": [ + "2fa", + "google-authenticator", + "hotp", + "otp", + "rfc-4226", + "rfc-6238", + "rfc4226", + "rfc6238", + "tfa", + "totp", + "two-factor", + "two-factor-authentication" + ], + "support": { + "issues": "https://github.com/delight-im/PHP-OTP/issues", + "source": "https://github.com/delight-im/PHP-OTP/tree/v1.0.1" + }, + "time": "2023-07-03T08:13:03+00:00" + }, + { + "name": "paragonie/constant_time_encoding", + "version": "v1.1.0", + "source": { + "type": "git", + "url": "https://github.com/paragonie/constant_time_encoding.git", + "reference": "317718fb438e60151f72b20404f040cb5ae1d494" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/317718fb438e60151f72b20404f040cb5ae1d494", + "reference": "317718fb438e60151f72b20404f040cb5ae1d494", + "shasum": "" + }, + "require": { + "php": "^5.3|^7|^8" + }, + "require-dev": { + "paragonie/random_compat": "^1.4|^2", + "phpunit/phpunit": ">= 4" + }, + "type": "library", + "autoload": { + "psr-4": { + "ParagonIE\\ConstantTime\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com", + "role": "Maintainer" + }, + { + "name": "Steve 'Sc00bz' Thomas", + "email": "steve@tobtu.com", + "homepage": "https://www.tobtu.com", + "role": "Original Developer" + } + ], + "description": "Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)", + "keywords": [ + "base16", + "base32", + "base32_decode", + "base32_encode", + "base64", + "base64_decode", + "base64_encode", + "bin2hex", + "encoding", + "hex", + "hex2bin", + "rfc4648" + ], + "support": { + "email": "info@paragonie.com", + "issues": "https://github.com/paragonie/constant_time_encoding/issues", + "source": "https://github.com/paragonie/constant_time_encoding" + }, + "time": "2022-01-17T05:23:46+00:00" } ], "packages-dev": [], @@ -176,5 +294,6 @@ "php": ">=5.6.0", "ext-openssl": "*" }, - "platform-dev": [] + "platform-dev": [], + "plugin-api-version": "2.1.0" }