Skip to content
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

Add TOTP support #43

Open
lfkeitel opened this issue Nov 28, 2016 · 0 comments
Open

Add TOTP support #43

lfkeitel opened this issue Nov 28, 2016 · 0 comments

Comments

@lfkeitel
Copy link
Member

There are several libraries for creating/verifying TOTP secrets and tokens. It would be trivial to make such a library. QR codes can be created by a few PHP libraries or even by requiring a linux package named "qrencode" and use a shell_exec to generate the image. The secret should be encrypted in the database and decrypted when the user enters the correct password. Or a site secret could be used so the TOTP secret could be used as verification at other times without asking for a password again. Ideally the secret isn't in plaintext.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant