Skip to content

Releases: philnash/crotp

v0.5.0

04 Apr 02:01
Compare
Choose a tag to compare

2019-10-09

Fixed

  • Crystal 0.31.0 changed the behaviour of Int#/ in favour of Int#// for integer division. This affected the base32 module, which no longer builds. Updated to point at a fork of base32 that does build in 0.31.0.

v0.4.0: 0.4.0 - 2019-08-18

18 Aug 12:51
Compare
Choose a tag to compare

2019-08-18

Changed

  • Crystal 0.30.0 deprecated URI.escape in favour of URI.encode_www_form. Updated this to match the original behaviour (with space_to_plus: false).
  • Crystal 0.28.0 deprecated Time.now. Updated to use Time.utc which is actually more correct according to the RFC.
  • Crystal 0.29.0 deprecated the behaviour of Int#/ to return integers. Changed to use Int#// instead.

v0.3.0

27 Jul 08:28
Compare
Choose a tag to compare

Added

  • Support and tests for TOTP with SHA256 and SHA512

Fixed

  • Crystal 0.28.0 changed the first argument for OpenSSL::HMAC#digest from a symbol to a type of OpenSSL::Algorithm. Updated this within the library thanks to @Xosmond.