mirror of
https://github.com/evgeny-gridasov/openvpn-otp.git
synced 2026-04-25 13:25:56 +03:00
[GH-ISSUE #3] Compatible with user key files #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/openvpn-otp#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @1337sup3rh4x0r on GitHub (May 23, 2015).
Original GitHub issue: https://github.com/evgeny-gridasov/openvpn-otp/issues/3
I managed to install this plugin to my server but now I cannot log in while it is enabled. Could it be that otp does not work alongside with user key files?
Or maybe I am doing something wrong with the google auth key.
I understand from the readme, that in the /etc/ppp/otp-secrets file the key needs to be put in base32 format.
What about in the google auth app? base32 or plain?
Also, does the key need to have a specific length?
@evgeny-gridasov commented on GitHub (May 24, 2015):
I think when you switch it to username/password mode it stops working with .key files.
base32 should go both in google authenticator and openvpn-otp
The length is standard google auth key length which is 16 characters of base32
Use google-authenticator cli tool to generate them and then scan generated QR code with the mobile phone app.
@1337sup3rh4x0r commented on GitHub (May 24, 2015):
Thank you for clearifying! Maybe it would help others to get startet if this was in the Readme?
@maxadamo commented on GitHub (Oct 21, 2015):
what do you mean by "key file"? I use ca.crt + client.crt + client.key + OTP, and everything is working like a charm.