Releases: RobThree/TwoFactorAuth
Releases · RobThree/TwoFactorAuth
Switched default ImageChartsQRCodeProvider to QRServerProvider
image-charts.com decided to start watermarking QR codes...
Replaced google image charts with image-charts.com
Google image charts has gone dark; replaced the GoogleQRCodeProvider
with ImageChartsQRCodeProvider
Minor (internal) refactoring
Improved verifyCode()
a little.
Fix a bug that caused timeslices to be returned instead of the intended timeslice
Dropped support for PHP versions below 5.4 and HHVM
- Dropped support for PHP versions below 5.4 and HHVM
- Fixed a deprecation notice in the
MCryptRNGProvider
for PHP 7.1 - Fixed an issue in the
HashRNGProvider
for PHP 7.2+
Minor changes
- ConvertUnixTimeDotComTimeProvider was dropped; this seems to no longer be online / work
- A new NTPTimeProvider was added
- The
verifyCode(...)
method now has a new argument that returns the timeslice that matched the code so you can save the timeslice and prevent replay-attacks.
Minor bugfix
Fixed a bug in ConvertUnixTimeDotComTimeProvider
that used caching by accident.
Implemented time providers to ensure correct time is used.
* Fix TwoFactorAuth class actually uses the TimeProvider * Update README and DEMO to advise using 160+ bits secret
Switched to PSR-4 autoloading standard
1.5.2 Update composer.json
Changed getQRText() from private to public
1.5.1 Update composer.json