mirror of
https://github.com/evgeny-gridasov/openvpn-otp.git
synced 2026-04-25 05:15:57 +03:00
[GH-ISSUE #25] Scratch codes #13
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#13
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 @ohmer1 on GitHub (Jan 26, 2018).
Original GitHub issue: https://github.com/evgeny-gridasov/openvpn-otp/issues/25
Hello,
Is there a way to support scratch codes generated by google authenticator?
@calve commented on GitHub (Jan 31, 2018):
AFAIU crash code are pregenerated HOTP. Those are supported by openvpn-otp.
@ohmer1 commented on GitHub (Jan 31, 2018):
I tried the generated codes but they are not working. I don't know if this is related, but the generated scratch codes have 8 digits but normal codes have only 6.
I use Google Authenticator to generate OTP keys:
google-authenticator --time-based --disallow-reuse --force --rate-limit=3 --rate-time=30 --window-size=17 --label=${USER}@sdomain.tld --secret=/root/ovpn2fa_secret@calve commented on GitHub (Apr 20, 2018):
Looks like you can configure the lenght of codes with the
totp_digitsparam (see readme) but it might apply to both HOTP and TOTP https://github.com/evgeny-gridasov/openvpn-otp/blob/master/src/otp.c#L619