jchambers / java-otp

A one-time password (HOTP/TOTP) library for Java
MIT License
455 stars 122 forks source link

Tests use "RAW" as algorithm for keys #31

Closed flozano closed 2 years ago

flozano commented 2 years ago

Here: https://github.com/jchambers/java-otp/blob/46670ad0cf991e2ccbe339ddd5e5cb9dabf00a17/src/test/java/com/eatthepath/otp/TimeBasedOneTimePasswordGeneratorTest.java#L47

the 2nd argument should be the algorithm, but RAW is passed instead.

jchambers commented 2 years ago

Good catch! Thank you!

Also: good to hear from you—happy new year to you!

flozano commented 2 years ago

😀 I was looking for an aerogear otp replacement and was so pleasantly surprised to see who made this one 😀

Happy new year and thanks a lot for the great stuff you code and share!