summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* switch to paragonie/constant_time_encoding for Base32 handlingFrançois Kooman2017-03-161-0/+2
|
* use paragonie/random_compatFrançois Kooman2017-03-031-28/+2
| | | | | it is better to use random_compat for CSRPNG, see https://paragonie.com/blog/2016/05/how-generate-secure-random-numbers-in-various-programming-languages#php-csprng
* Add support for a timeoffset if system time cannot be set correctlyLucas L. Treffenstädt2017-01-061-1/+36
|
* Add image to options for google authenticator url2.2.0Christian Riesen2016-06-101-0/+5
| | | Thanks to @SamuelDauzon for the idea.
* Minor Fixes and Updated Teststherealssj2016-06-092-5/+9
|
* Changes after feedbacktherealssj2016-06-092-9/+27
|
* Add hotp counter windowtherealssj2016-06-092-4/+16
|
* Cleanups and adding the generateRecoveryCodes functionChristian Riesen2016-06-023-34/+66
|
* Add random_int with polyfill suggestions as default random generator1.4.3Christian Riesen2015-10-081-1/+9
| | | | | | Not a BC. Just will use that first, if present. In PHP7 it's already part of the core, and the polyfill can be installed to take care of the rest. Always will fall back to the current methods. Fixes #8. Thanks to @inanimatt for the suggestion.
* Fixes after feedback by ChristianRiesenTimo Schinkel2015-07-101-5/+6
| | | | | | * $options[counter] not escaped using rawurlencode but using intval * $options[digits] can only have either 6 of 8 as value, added a check and replaced rawurlencode with intval * replaces count(explode()) with substr_count
* Fixed code to follow Key Uri Format according to spec:Timo Schinkel2015-07-011-6/+11
| | | | | * added correct escaping of parameters in key uri * added special case escaping for spaces in the label
* Fix #3 to use better random functionsChristian Riesen2015-04-201-20/+36
|
* Add issuer to optionsLouis Matthijssen2014-11-231-0/+6
|
* Correct whitespacesChristian Riesen2014-10-091-2/+1
|
* add possibility to get raw key URI to generate QR code without google chartsPascal Ockert2014-08-191-8/+31
|
* Alter checkTotp to allow timedrift to be set as optional parameter1.2Christian Riesen2013-07-033-435/+431
|
* Removed Base32 from this repo and moved it to it's own. AddedChristian Riesen2012-06-202-247/+21
| | | composer.json with requirement for the base32 class.
* Added additional checking for otp counterChristian Riesen2012-06-161-89/+93
|
* GoogleAuthenticator class now tested as well, and can change the size ofChristian Riesen2012-06-161-4/+21
| | | the output qr code
* Small blankspace changeChristian Riesen2012-06-161-38/+37
|
* Added getters to otp and fixed minor style issuesChristian Riesen2012-06-164-28/+107
|
* Added actual code filesChristian Riesen2012-06-164-0/+637