Commit Graph

100 Commits

Author SHA1 Message Date
Nicolas CARPi e08b0a5445 Merge branch 'master' into nico-sensitive-attr
* master:
  add CI4-auth link in README. fix #107 (#123)
  remove insecure rng providers and remove polyfill for hash_equals (#122)
  delete files specific to code editors (#120)
  Exclude useless files from dist archive #103
2024-04-16 18:21:01 +02:00
Nicolas CARPi ecef270ba7 add CI4-auth link in README. fix #107 (#123) 2024-04-16 17:16:48 +01:00
Nicolas CARPi 194ecc28eb remove insecure rng providers and remove polyfill for hash_equals (#122)
* remove insecure rng providers

and remove the openssl provider. We now rely exclusively on
random_bytes(), as there are no reasons not to. Fix #121

* remove the isSecure property of the test rng class

* remove pointless test rng class

we were testing a test class, which didn't make a lot of sense.

* Revert "remove pointless test rng class"

This reverts commit f6da6bee6d.

* Reapply "remove pointless test rng class"

This reverts commit 06220d4a54.

* assing rng provider to class attribute

this also aligns with other providers

* remove polyfill for hash_equals
2024-04-16 16:52:51 +01:00
Nicolas CARPi 76f420e6b2 add SensitiveParameter to sensitive arguments
This change adds the PHP attribute SensitiveParameter to the secret
holding variables.
See: https://www.php.net/manual/en/class.sensitiveparameter

This feature is only available in PHP 8.2, so the minimum php version
required has been updated.

Github Actions now use PHP 8.2 and 8.3 for the tests.
The checkout action has been updated to v4, too.

Fix issue #118
2024-04-15 21:40:19 +02:00
RMEngels 6e71f43bb1 Add warning of default QR Code provider to README.md 2023-04-25 11:30:44 +02:00
Nicolas CARPi 04e26c9961 remove codeclimate badge because coverage is not uploaded there anyway 2023-02-25 13:07:20 +01:00
Nicolas CARPi 8391c5efb0 fix build badge and codeclimate badge
see: https://github.com/badges/shields/issues/8671
2023-02-25 13:05:01 +01:00
Nicolas CARPi 30248a8fb5 address remarks made by MasterOdin 2023-02-22 18:08:19 +01:00
Nicolas CARPi 7e067166aa use relative path for LICENSE link in README
(really it's to trigger an action!)
2022-12-09 18:39:28 +01:00
Nicolas CARPi 225216a616 fix php version in readme 2022-12-09 18:12:38 +01:00
Nicolas CARPi aeb4b00c60 first batch 2022-12-07 22:28:52 +01:00
William Hall f006e63cff 📚 break down documentation for github pages 2021-03-29 18:05:08 +01:00
William Hall b99f4f96d0 📚 document that we now test against PHP 8 2021-03-09 18:23:12 +00:00
William Hall 38f349fccd Merge remote-tracking branch 'igorsantos/qr-logos' 2021-03-09 18:09:38 +00:00
Matthew Peveler 7d21cee5c1 migrate from travis to gh action
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2021-01-28 11:49:01 +00:00
Igor Santos cc2ae19bcd Document the need for the code to be a string 2021-01-25 02:32:41 -03:00
Igor Santos ee9bf04ab7 Mention embedded image support in docs 2021-01-24 00:41:46 -03:00
Rob Janssen 4efb71d0ba Update README.md 2020-11-02 15:17:00 +01:00
Rob Janssen b5f9eda499 Update README.md
Fixed links
2020-09-28 10:26:53 +02:00
Matthew Peveler 2daae60a34 Update README with two new QR providers
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-09-28 01:26:27 +00:00
Matthew Peveler 7c0f0b3d7f Mark QRServerProvider as default in README
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-09-27 10:04:56 -04:00
Rob Janssen 4da0739b38 Fix typo in README 2020-05-07 18:27:40 +02:00
RobThree 1a941f0c86 Dropping support for older PHP versions (5.4, 5.5) 2020-01-02 20:54:30 +01:00
Rob Janssen 401fc07652 Update README.md 2019-04-29 12:08:22 +02:00
Rob Janssen b5cd72a00a Update README.md 2019-04-29 12:05:24 +02:00
RobThree 7477d5d656 * Replace google image charts with image-charts.com 2019-03-19 22:51:19 +01:00
Rob Janssen 75c49351a6 Update README.md 2018-06-06 17:52:17 +02:00
Rob Janssen e74f7a4bf6 Update README.md 2018-06-06 17:51:17 +02:00
Rob Janssen 72572c5c3a * Removed hhvm badge 2018-06-06 01:59:46 +02:00
Rob Janssen 39db2654a6 Update README.md 2018-06-06 01:56:01 +02:00
RobThree 4408ce7884 * Dropped support for PHP 5.3
* Added support for PHP 7.2
2018-06-05 22:36:40 +02:00
RobThree 93fc6355d4 * Dropped ConvertUnixTimeDotComTimeProvider
* Added NTPTimeProvider
* Added out argument on verifyCode() method that returns the matched timeslice (if any) when a valid code was entered
2018-06-05 22:17:49 +02:00
Rob Janssen a77e7d8223 Update README.md 2017-11-06 18:55:56 +01:00
RobThree 5093ab230c * Fix TwoFactorAuth class actually uses the TimeProvider
* Update README and DEMO to advise using 160+ bits secret
2017-02-17 16:24:54 +01:00
RobThree 9735116635 * Implemented ITimeProviders 2017-02-17 14:53:55 +01:00
Martijn van Calker d03e976891 Fix php example in readme 2017-01-03 09:48:55 +01:00
Andrej Griniuk c52e9e3728 Added the link to the integration with CakePHP 2016-02-15 17:59:37 +11:00
Rob Janssen a62c8c6332 Update README.md 2015-12-04 13:35:36 +01:00
Rob Janssen dc77020a5a Update README.md 2015-12-04 13:34:30 +01:00
Rob Janssen 9043dd15f8 Update README.md 2015-12-02 16:50:37 +01:00
Rob Janssen 856167c950 Update README.md 2015-11-21 01:09:38 +01:00
Rob Janssen c8ec3f624f Update README.md 2015-11-20 00:31:51 +01:00
Rob Janssen 80f00338a2 Update README.md 2015-11-20 00:17:24 +01:00
Rob Janssen 53a184f85c Update README.md 2015-11-19 21:35:51 +01:00
Rob Janssen c3c762a8f3 Update README.md 2015-11-19 02:29:39 +01:00
Rob Janssen d1878f2e5c * Class -> Library 2015-11-19 02:03:53 +01:00
Rob Janssen 0332a61b67 Update README.md 2015-05-07 12:43:42 +02:00
Rob Janssen cff5dadb79 * Typo 2015-05-06 11:21:53 +02:00
Rob Janssen 1647e46ee3 * Removed incorrect statement 2015-05-06 11:19:28 +02:00
Rob Janssen 1d0a9432e6 Update README.md 2015-04-06 20:52:43 +02:00