Package go-otp implements one-time-password generators used in 2-factor authentication systems like RSA-tokens. Currently this supports both HOTP (RFC-4226), TOTP (RFC-6238) and Base32 encoding (RFC-3548) for Google Authenticator compatibility
Hello,
I discovered that the code is not returning correct values for this seed: HG3ST7NLZJJRASIQSLQLZH2EDV
Further testing has shown that all seeds in the same length produce an incorrect code. For timestamp 2016-05-21 07:00:37.995 +0200 CEST the value returned is 502621, but it should be 289787.
I am not sure where to start debugging.
Given the value is in seconds, uint8 can't be used to have values like 5 minutes or more. The Period should be allowed to have higher values, even few days if the situation demands.
Tags and versions aid in packaging for things like .deb files, and for anyone wanting to use Glide and other version based package managers to version their dependencies. It would also help ensure that if you make a breaking change, we don't pull it down until we are ready.