Commit Graph
20 Commits
Author SHA1 Message Date
Aaron Bieber acefe4a3b9 Don't assume our secret is base32 encoded.
According to https://en.wikipedia.org/wiki/Time-based_One-time_Password_algorithm
secrets are only base32 encoded in gauthenticator and gauth friendly providers.
2018-04-16 13:14:03 -07:00
kyle a1452cebc9 Travis requires a string for Go 1.10. 2018-04-16 13:03:16 -07:00
kyle 6e9812e6f5 Vendor dependencies and add more tests. 2018-04-16 13:03:16 -07:00
Aaron Bieber 8c34415c34 add readme 2018-04-16 12:52:39 -07:00
Paul TREHIOU 2cf2c15def Case insensitive algorithm match 2018-04-16 12:43:27 -07:00
Aaron Bieber eaad1884d4 Make sure our secret is always uppercase
Non-uppercase secrets that are base32 encoded will fial to decode
unless we upper them.
2017-09-17 18:19:23 -07:00
kyle 5d57d844d4 Add license (MIT). 2017-04-13 10:02:20 -07:00
Kyle Isom 31b9d175dd Add travis config. 2017-03-20 14:20:49 -07:00
Aaron Bieber 79e106da2e point to new qr location 2017-03-20 13:18:56 -07:00
Kyle Isom 939b1bc272 Updating imports. 2015-08-12 12:29:34 -07:00
Kyle 89e74f390b Add doc.go, finish YubiKey removal. 2014-04-24 20:43:13 -06:00
Kyle 7881b6fdfc Remove test TOTP client. 2014-04-24 20:40:44 -06:00
Kyle 5bef33245f Remove YubiKey (not currently functional). 2014-04-24 20:37:53 -06:00
Kyle 84250b0501 More documentation. 2014-04-24 20:37:00 -06:00
Kyle Isom 459e9f880f Add function to build Google TOTPs from secret 2014-04-23 16:54:16 -07:00
Kyle Isom 0982f47ce3 Add last night's progress.
Basic functionality for HOTP, TOTP, and YubiKey OTP. Still need YubiKey
HMAC, serialisation, check, and scan.
2013-12-20 17:00:01 -07:00
Kyle Isom 1dec15fd11 add missing files
new files are
	oath_test
	totp code
2013-12-19 00:21:26 -07:00
Kyle Isom 2ee9cae5ba Add basic Google Authenticator TOTP client. 2013-12-19 00:20:00 -07:00
Kyle Isom dc04475120 HOTP and TOTP-SHA-1 working.
why the frak aren't the SHA-256 and SHA-512 variants working
2013-12-19 00:04:26 -07:00
Kyle Isom dbbd5116b5 Initial import.
Basic HOTP functionality.
2013-12-18 21:48:14 -07:00