java-otp has been around and stable for a while, and it's time to tag and release 1.0.0. This is largely a ceremonial release, but it does include some important changes:
HmacOneTimePasswordGeneratorandTimeBasedOneTimePasswordGeneratornow have methods for validating user-supplied one-time passwords- One-time password generators now operate on
SecretKeyinstances rather than the more generalKey, which encompasses types of keys that aren't appropriate for HOTP/TOTP UncheckedNoSuchAlgorithmExceptionhas been removed, but constructors have been streamlined a bit some common cases still don't throw checked exceptions. Where unavoidable, constructors may now throwNoSuchAlgorithmException.- The build/release process is now largely automated, which should make future releases easier and more repeatable
Please note that this release does include breaking changes (as described above). As part of the 1.0.0 release, we'll commit to semantic versioning for all future releases.
For a complete list of changes, please see java-otp-0.4.0...java-otp-1.0.0.