Commit Graph

35 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
646d49aeb1 some minor changes in README.md 2022-08-28 19:25:32 +02:00
Dennis Paul
759f640132 Made CalculateTOTP public + new function for NewTOTP but with existing secret 2022-08-28 19:05:08 +02:00
Dennis Paul
987ec860c3 go.mod + go.sum 2022-08-28 19:04:44 +02:00
Sebastian
cd97c894b2 Switching to Glide dep management and removing vendoring folder 2018-09-11 13:28:02 +02:00
Sebastian
7519c44a35
Merge pull request #12 from MarkSonghurst/spelling
Corrected spelling mistakes
2018-04-08 10:00:44 +02:00
Mark Songhurst
da0c6be501 Corrected spelling mistakes 2018-02-21 15:31:28 +03:00
Sebastian
d22311dbf1
Merge pull request #9 from mrobinsn/master
Added method to get the secret out for clients which do not support QR code scanning
2017-12-13 14:57:54 +01:00
Michael Robinson
92de2f4a0e
added method to get the secret out 2017-12-03 15:43:51 -07:00
silenteh
70189459df Updated README 2017-04-08 09:52:55 +02:00
Sebastian
9cd7848ac8 Merge pull request #5 from cswank/crypto
update cryptoengine in vendor
2016-11-28 19:56:23 +01:00
Craig Swank
9505c7b0fb update cryptoengine in vendor 2016-11-15 19:43:36 -07:00
Sebastian
cc1b87fe43 Merge pull request #3 from ktw/master
Small correction to README.md
2016-07-14 16:01:43 +02:00
Kim Trolle Wadum
25479460e4 Small correction to README.md 2016-07-14 10:18:54 +02: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
eada29e8a3 Added little endian import to Travis 2016-01-26 15:35:01 +01:00
silenteh
57cba6ede0 Fixed import of qrcode 2016-01-26 15:32:47 +01:00
silenteh
9e163709ba Regenerated dependencies with Godep 2016-01-26 14:50:04 +01:00
silenteh
8199ae9abf Bumped Travis go version to 1.5.3 2016-01-26 14:47:48 +01:00
silenteh
cf42e4da7c Fixed google code broken dependencies 2016-01-26 14:43:56 +01:00
silenteh
72d6bbdae0 Added gitignore 2015-11-23 09:52: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
4b6ca6edea Fixed travis dependencies 2015-08-06 00:04:28 +02:00
silenteh
6e8770158f Improved readme - added info about new encryption with cryptoengine 2015-08-05 23:53:06 +02:00
silenteh
c413e28bb8 added godoc badge 2015-08-05 22:46:05 +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
02faae03f2 Renamed travis url to lower case 2015-08-04 16:27:34 +02:00
silenteh
37643c7b9e added travis build status 2015-08-04 16:16:53 +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