Closed kousu closed 5 years ago
I think I fixed it, can you confirm ?
They match now, but your code also has a 'dec' option that's not listed, too. :)
Why did you rename 'hex40' to 'hex-notrunc'? 'hex40' matches the 'dec
Sorry I really don't remember :) Feel free to provide a PR for dec or restore the possibility of hex40.
No news good news.
https://github.com/bdauvergne/python-oath/blob/172852cb9f245875686c4d5e525a304315b93c4b/oath/_hotp.py#L53 and https://github.com/bdauvergne/python-oath/blob/172852cb9f245875686c4d5e525a304315b93c4b/oath/_totp.py#L32 disagree about legal formats. 'hex40' is not allowed.