[pkg-php-pear] Bug#1012239: ITP: christianriesen-otp -- PHP library to check HOTP and TOTP one time passwords
joe at nahmias.net
Thu Jun 2 05:45:43 BST 2022
Owner: Joseph Nahmias <joe at nahmias.net>
X-Debbugs-Cc: debian-devel at lists.debian.org, joe at nahmias.net, chris.riesen at gmail.com, pkg-php-pear at lists.alioth.debian.org
* Package name : christianriesen-otp
Version : 1.4.3
Upstream Author : Christian Riesen <chris.riesen at gmail.com>
* URL : https://github.com/ChristianRiesen/otp
* License : MIT
Programming Lang: PHP
Description : PHP library to check HOTP and TOTP one time passwords
Implements hotp according to RFC4226 and totp according to RFC6238 (only
sha1 algorithm). Once you have a secret, you can use it directly in this
class to create the passwords themselves (mainly for debugging use) or use
the check functions to safely check the validity of the keys. The checkTotp
function also includes a helper to battle timedrift.
Also includes a static GoogleAuthenticator function class to generate a
correct url for the QR code, so you can easy scan it with your device.
Google Authenticator is available as application for iPhone and Android.
This removes the burden to create such an app from the developers of
websites by using this set of classes.
Dependency of KanBoard.
Will be maintained within PHP Team.
More information about the pkg-php-pear