-
Notifications
You must be signed in to change notification settings - Fork 338
Added TOTP feature #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Added TOTP feature #173
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "lib/vendor/base32"] | ||
path = lib/vendor/base32 | ||
url = https://github.com/tuupola/base32.git | ||
[submodule "lib/vendor/phpqrcode"] | ||
path = lib/vendor/phpqrcode | ||
url = https://git.code.sf.net/p/phpqrcode/git | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am ok with this library. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,14 @@ It has the following features: | |
* valid PHP mail server configuration (reset mail) | ||
* valid PHP session configuration (reset mail) | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. php-gd2 is required for this feature and should be mentionned |
||
### For Time based One Time Password (TOTP) | ||
There are two git submodules that must be initialized: | ||
|
||
``` | ||
git submodule update --init lib/vendor/phpqrcode | ||
git submodule update --init lib/vendor/base32 | ||
``` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add a git checkout to a specific commit (plus a comment on version tested) to each of these submodules. |
||
|
||
## Documentation | ||
|
||
Documentation is available on http://ltb-project.org/wiki/documentation/self-service-password | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did you choose this library ?
Based on https://packagist.org/?q=base32
I would have prefered
https://github.com/paragonie/constant_time_encoding
https://github.com/ChristianRiesen/base32