[PR #7] HMAC based One Time Password #34

Closed
opened 2026-02-25 22:30:50 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/evgeny-gridasov/openvpn-otp/pull/7

State: closed
Merged: Yes


This pull request implements support for HMAC based One Time Password (hotp)

HOTP tokens needs to store the value of the current counter somewhere, in order to keep in sync with the client. As stated in the README; for each HOTP entry in the otp-secrets files, we compute the sha1 checksum of the secret key, and we use the result as the filename.

The diff is huge because this pull request is built on top of #6. Together, these two features allows an administrator to create backups codes for users, by precomputing them and using a small counter value.

**Original Pull Request:** https://github.com/evgeny-gridasov/openvpn-otp/pull/7 **State:** closed **Merged:** Yes --- This pull request implements support for [HMAC based One Time Password (hotp)](https://tools.ietf.org/html/rfc4226) HOTP tokens needs to store the value of the current counter somewhere, in order to keep in sync with the client. As stated in the README; for each HOTP entry in the `otp-secrets` files, we compute the sha1 checksum of the secret key, and we use the result as the filename. The diff is huge because this pull request is built on top of #6. Together, these two features allows an administrator to create backups codes for users, by precomputing them and using a small counter value.
kerem 2026-02-25 22:30:50 +03:00
kerem changed title from [PR #7] [MERGED] HMAC based One Time Password to [PR #7] HMAC based One Time Password 2026-02-27 12:39:49 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/openvpn-otp#34
No description provided.