6.3.0 (2023-08-30)
- Removed
rjust
fromgenerate_otp
in favor of more time constant version
- Removed old rdoc folder that was triggering a security warning due to an old version of JQuery being included in the HTML docs. This has no impact on the Ruby library.
- Update to expand compatibility with Ruby 3. This was only a change to the gemspec, no code changes were necessary.
- Fixing URI encoding issues again, breaking out into it's own module due to the complexity - closes #100 (@atcruice)
- Add docker-compose.yml to help with easier testing
- Dropping support for Ruby <2.3 (Major version bump)
- Fix issue when using --enable-frozen-string-literal Ruby option #95 (jeremyevans)
- URI Encoding fix #94 (ksuh90)
- Update gems (rake, addressable)
- Update Travis tests to include Ruby 2.7
- Create
random_base32
to performrandom
to avoid breaking changes- Still needed to bump to 5.x due to Base32 cleanup
- Clean up base32 implementation to match Google Autheticator
- BREAKING
Base32.random_base32
renamed to random- The argument is now byte length vs output string length for more precise bit strengths
- Add a digest option to the CLI #83
- Fix provisioning URI is README #82
- Improvements to docs
- Fix gemspec requirment for Addressable
- Rubocop for style fixes
- Replace deprecated URI.encode with Addressable's version
- Simplify API
- Remove support for Ruby < 2.0
- BREAKING CHANGE: Removed optional second argument (
padding
) from:HOTP#at
OTP#generate_otp
TOTP#at
TOTP#now
(first argument)
- Add OpenSSL as a requirement for Ruby 2.5. Fixes #70 & #64
- Allow Base32 with padding. #71
- Prevent verify with drift being negative #69
- Add digest algorithm parameter for non SHA1 digests - #62 from @btalbot
- Add 'verify_with_drift_and_prior' to prevent prior token use - #58 from @jlfaber
- Add Add digits paramater to provisioning URI. #54 from @sbc100
- Use SecureRandom. See /pull/52
- Provisioning URL includes issuer label per RFC 5234 See /pull/51
- Remove string literals to prepare immutable strings in Ruby 3.0
- Reorder the params for Windows Phone Authenticator - #43
- Add a CLI for generating OTP's /pull/35
- Move to only comparing string OTP's.
- Move to only comparing string OTP's. See /issues/32 - Moved to 2.0.0 - yanked from RubyGems
- Remove deprecation warning in Ruby 2.1.0 (@ylansegal)
- Add Ruby 2.0 and 2.1 to Travis
- Add verify_with_retries to HOTP
- Fix 'cgi' require and global DEFAULT_INTERVAL
- Add support for "issuer" parameter on provisioning url
- Add support for "period/interval" parameter on provisioning url
- Revert to previous Base32
- Fix and test correct implementation of Base32
- Fix issue with base32 decoding of strings in a length that's not a multiple of 8
- Bugfix on padding
- Better padding options (Pad the output with leading 0's)
- Clean up drift logic
- Added clock drift support via 'verify_with_drift' for TOTP
- Added support for Ruby 1.9.x
- Removed dependency on Base32