Update module pquerna/otp to v1.3.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/pquerna/otp | require | minor |
v1.0.0 -> v1.3.0
|
Release Notes
pquerna/otp
v1.3.0
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
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
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
inhotp.Generate
. -
#21: Adds
otp.key.URL()
method.
Non-functional changes since v1.0.0:
Thank you to all of the contributors for this release:
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.