summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #18 from fkooman/random_compatHEAD2.4.0origin/masterorigin/HEADmasterChristian Riesen2017-03-164-44/+14
|\ | | | | use paragonie/random_compat
| * small README updateFrançois Kooman2017-03-161-3/+1
| |
| * switch to paragonie/constant_time_encoding for Base32 handlingFrançois Kooman2017-03-164-11/+11
| |
| * use paragonie/random_compatFrançois Kooman2017-03-032-32/+4
|/ | | | | 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
* Merge pull request #15 from mithodin/master2.3.0Christian Riesen2017-01-081-1/+36
|\ | | | | Add support for a time offset
| * Add support for a timeoffset if system time cannot be set correctlyLucas L. Treffenstädt2017-01-061-1/+36
|/
* Fixed totp example in READMEChristian Riesen2016-11-301-1/+1
| | | Thanks to @fkooman for the hint.
* Add image to options for google authenticator url2.2.0Christian Riesen2016-06-101-0/+5
| | | Thanks to @SamuelDauzon for the idea.
* Merge pull request #13 from monofone/patch-1Christian Riesen2016-06-101-1/+1
|\ | | | | Match PHP Veriosn from composer.json in Readme
| * Match PHP Veriosn from composer.json in ReadmeSören Rohweder2016-06-101-1/+1
|/
* Merge pull request #12 from therealssj/hotp-counter2.1.0Christian Riesen2016-06-093-24/+175
|\ | | | | Add hotp counter window
| * Use data sets for test valuestherealssj2016-06-091-35/+104
| |
| * Minor Fixes and Updated Teststherealssj2016-06-093-20/+31
| |
| * Add Unit Tests for HotpResynctherealssj2016-06-091-0/+41
| |
| * Changes after feedbacktherealssj2016-06-092-9/+27
| |
| * Add hotp counter windowtherealssj2016-06-092-4/+16
|/
* Adjust composer require for phpunit2.0.0Christian Riesen2016-06-021-1/+1
|
* Cleanups and adding the generateRecoveryCodes functionChristian Riesen2016-06-0211-54/+159
|
* Add composer.lock and vendor to gitignoreChristian Riesen2016-04-111-1/+2
|
* Add random_int with polyfill suggestions as default random generator1.4.3Christian Riesen2015-10-083-5/+17
| | | | | | 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.
* Merge pull request #7 from timgws/patch-1Christian Riesen2015-09-151-1/+3
|\ | | | | The Google Authenticator app is no longer open source
| * The Google Authenticator app is no longer open sourceTim Groeneveld2015-09-091-1/+3
|/
* Update travis file to support php 5.3-5.6 and php7Christian Riesen2015-07-271-0/+3
|
* Merge pull request #6 from schinkel/master1.4.2Christian Riesen2015-07-272-8/+32
|\ | | | | Fixed code to follow Key Uri Format according to spec
| * 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-012-7/+30
|/ | | | | * added correct escaping of parameters in key uri * added special case escaping for spaces in the label
* Merge pull request #4 from ChristianRiesen/fix-rand1.4.1Christian Riesen2015-04-201-20/+36
|\ | | | | Fix #3 to use better random functions
| * Fix #3 to use better random functionsChristian Riesen2015-04-201-20/+36
|/
* Merge pull request #2 from Naxiz/master1.4Christian Riesen2015-02-121-0/+6
|\ | | | | Add issuer to options
| * Add issuer to optionsLouis Matthijssen2014-11-231-0/+6
|/
* Correct whitespacesChristian Riesen2014-10-096-8/+11
|
* Merge pull request #1 from pascalockert/master1.3Christian Riesen2014-08-214-23/+68
|\ | | | | Additional method to get Key URI without Google Charts
| * remove PHPUnit includes from testsPascal Ockert2014-08-192-6/+2
| |
| * add Key URI to example scriptPascal Ockert2014-08-191-1/+4
| |
| * add possibility to get raw key URI to generate QR code without google chartsPascal Ockert2014-08-192-16/+62
|/
* Fix example scriptChristian Riesen2013-12-271-7/+2
|
* Alter checkTotp to allow timedrift to be set as optional parameter1.2Christian Riesen2013-07-034-439/+437
|
* Documentation UpdateChristian Riesen2013-02-221-12/+11
|
* composer file update1.1Christian Riesen2013-01-291-1/+1
|
* Update composer to reflect consistent package namingChristian Riesen2013-01-291-2/+2
|
* Removed Base32 from this repo and moved it to it's own. AddedChristian Riesen2012-06-207-315/+64
| | | composer.json with requirement for the base32 class.
* Readme typo removedChristian Riesen2012-06-161-94/+92
|
* Travis CI image in Readme addedChristian Riesen2012-06-161-0/+4
|
* phpunit xml config file addedChristian Riesen2012-06-161-0/+15
|
* Added additional checking for otp counterChristian Riesen2012-06-162-91/+106
|
* Added exampleChristian Riesen2012-06-162-88/+95
|
* Example script, demonstrating the basic operationsChristian Riesen2012-06-161-0/+97
|
* GoogleAuthenticator class now tested as well, and can change the size ofChristian Riesen2012-06-162-4/+61
| | | the output qr code
* Small blankspace changeChristian Riesen2012-06-161-38/+37
|
* Nase32 not needed in otp testChristian Riesen2012-06-161-1/+0
|
* Added getters to otp and fixed minor style issuesChristian Riesen2012-06-168-64/+140
|
* Composer not needed (yet)Christian Riesen2012-06-161-4/+0
|
* Added actual code filesChristian Riesen2012-06-167-0/+856
|
* Changed readmeChristian Riesen2012-06-152-4/+89
|
* Initial commitChristian Riesen2012-06-151-0/+4