Skip to content

Releases: pquerna/otp

v1.4.0: Minor Changes and Improvements

14 Dec 00:40
87d222c
Compare
Choose a tag to compare

Functional changes

  • Don't use + encoding for spaces to improve compatibility with Android TOTP Applications #78
  • Add new methods that expose the Algorithm and the Digits parameters from the Key URL. #74
  • If 0 is passed in for .Digits, default to 6 #77

v1.3.0

11 Nov 03:08
bd63651
Compare
Choose a tag to compare

v1.3.0 contains minor changes and enhancements. All users should be safe to upgrade.

Functional changes

  • Added GenerateOpts.Rand to control the random source for generating secrets #45
  • Parse the Period of an OTP URL #49

Documentation changes

  • Note that SHA1 should be used for compatibility with Google Authenticator #57
  • Expanded Example #53

v1.2.0

01 Jun 15:10
43bebef
Compare
Choose a tag to compare

v1.2.0 of otp contains no breaking changes, and is safe for all users to upgrade.

Changes since v1.1.0:

  • Add Go modules related files #40
  • Expose a new .Secret field on the {hotp,totp}.GenerateOpts structs. This lets you import an existing secret instead of generating a new one. #42
  • Internal change to use base32.NoPadding as an encoding rather than trimming the standard padding #41

Non-functional changes since v1.1.0:

  • Upgrade Go versions tested in Travis CI #39

v1.1.0

25 Dec 06:40
be78767
Compare
Choose a tag to compare

Most users of otp should be able to upgrade safely. I'm happy to say otp is a stable library and is being used by many groups successfully.

Changes since v1.0.0:

  • #30: Increases default secret size from 10 bytes to 20 bytes. This may effect storage of newly generated secrets, eg in a SQL database backend.
  • #25: Improved interoperability with broken base32 encoders.
  • #31: Bugfix: Check for a zero default Digits in hotp.Generate.
  • #21: Adds otp.key.URL() method.

Non-functional changes since v1.0.0:

  • #27: Add additional test cases.
  • #28 and #23: Update Travis CI Settings.
  • #23: gofmt repo.

Thank you to all of the contributors for this release:

1.0 - Stable!

07 Aug 03:08
Compare
Choose a tag to compare

otp has held its stable API for >24 months, figure we might as well make it official with a 1.0 release.