Commit Graph

17 Commits

Author SHA1 Message Date
e9dd80f971
Heavy project cleanup 2023-09-08 12:34:31 +01:00
Dennis Paul
dc592e013f remove encryption in ToBytes() and FromBytes() function 2022-09-18 16:10:31 +02:00
Dennis Paul
759f640132 Made CalculateTOTP public + new function for NewTOTP but with existing secret 2022-08-28 19:05:08 +02:00
Mark Songhurst
da0c6be501 Corrected spelling mistakes 2018-02-21 15:31:28 +03:00
Michael Robinson
92de2f4a0e
added method to get the secret out 2017-12-03 15:43:51 -07:00
silenteh
72a472700b Addressed issue #1 - Byte order was the problem
The counter needs to be represented in bigendian format.
Unfortunately with commit #00045cb I made the unfortunate choice to swap the endiannes from big-endian to little-endian.
This broke the functionality for certain counters.

- [x] Added Go vendoring
- [x] Bumped version of golang in travis yml file
- [x] Removed conversion files and instead used import of convert sec51 external library
2016-04-24 22:24:31 +02:00
silenteh
57cba6ede0 Fixed import of qrcode 2016-01-26 15:32:47 +01:00
silenteh
cf42e4da7c Fixed google code broken dependencies 2016-01-26 14:43:56 +01:00
silenteh
00045cbfc0 Refactored twofactor to support the new crypto engine version
No API changes were made on this commit
2015-11-22 00:27:40 +01:00
silenteh
6e8770158f Improved readme - added info about new encryption with cryptoengine 2015-08-05 23:53:06 +02:00
silenteh
3145198097 Fixed token synchronization problem 2015-08-04 19:42:11 +02:00
silenteh
93dfb338c7 Fixed issue with issuer encoding - made URL() private 2015-08-04 17:21:09 +02:00
silenteh
737259eaba Added warning to Totp struct 2015-08-04 17:00:43 +02:00
silenteh
73ce7eaf59 made const and vars private 2015-08-04 16:58:48 +02:00
silenteh
f4058aa3ac Exposed Totp struct - added checks for proper initialization 2015-08-04 16:50:45 +02:00
silenteh
2128a14b41 Comment on constant - travis deps 2015-08-04 16:14:47 +02:00
silenteh
00e19bbd7f Version 1.0 2015-08-04 14:15:51 +02:00