BastiaanJansen / otp-java

A small and easy-to-use one-time password generator library for Java implementing RFC 4226 (HOTP) and RFC 6238 (TOTP).
MIT License
186 stars 30 forks source link

Bugfixes, v1.2.1 release candidate #44

Closed BastiaanJansen closed 3 years ago

BastiaanJansen commented 3 years ago
  1. Fixed bug regarding generating TOTP tokens with Instants.
  2. Periods of less than one second are not allowed and will now throw an IllegalArgumentException.