Command-line interface for HOTP and TOTP
Go to file
Lucas 95341d4ca2 Fix test cases for TOTP
RFC 6238 isn't clear enough in the Test Vectors section, and the
different HMAC algorithms use different secrets.
2020-06-14 17:58:01 +00:00
COPYING Initial commit 2020-06-14 03:23:29 +00:00
Makefile Use strtonum-like functions for parsing numeric arguments 2020-06-14 17:12:55 +00:00
cli.c Add -h flag for using a HMAC other than SHA1 2020-06-14 17:57:42 +00:00
err.c Small update to err.[ch] 2020-06-14 15:00:33 +00:00
err.h Small update to err.[ch] 2020-06-14 15:00:33 +00:00
mystrtonum.c Use strtonum-like functions for parsing numeric arguments 2020-06-14 17:12:55 +00:00
mystrtonum.h Use strtonum-like functions for parsing numeric arguments 2020-06-14 17:12:55 +00:00
otp.c Add TOTP support 2020-06-14 17:31:33 +00:00
otp.h Change totp to take a uint64_t instead of time_t 2020-06-14 17:13:07 +00:00
run-tests.sh Fix test cases for TOTP 2020-06-14 17:58:01 +00:00