|
3093486c9f
|
Assume the secret is in base32 by default
|
2021-02-12 03:04:25 +00:00 |
|
|
3e8b900464
|
Change -h to -a
|
2021-02-12 01:41:54 +00:00 |
|
|
33cc12f030
|
Also run tests with standard input
While there, add a explicit `-h sha1` to TOTP tests.
|
2020-06-15 23:57:39 +00:00 |
|
|
ecc23ff01f
|
Add options for configuring digits and time step
Default digits to 6 and time step to 30 seconds. This implies passing
`-d 8' to all TOTP test cases.
|
2020-06-14 18:06:25 +00:00 |
|
|
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 |
|
|
41ca24d151
|
Add TOTP support
Add all the test vectors from RFC 6238, but comment the non-SHA1 ones
for the time being.
|
2020-06-14 17:31:33 +00:00 |
|
|
84587a4c32
|
Add test cases for HOTP
|
2020-06-14 04:21:11 +00:00 |
|