warpgate
warpgate copied to clipboard
Bump totp-rs from 2.0.1 to 3.0.0
Bumps totp-rs from 2.0.1 to 3.0.0.
Release notes
Sourced from totp-rs's releases.
v3.0.0
New features
- Secret handling is now less error prone thanks to #25
- Totp now implements the
Defaulttrait, which will generate a strong secret, and have sane default values according to RFC-6238 like #26Rfc6238struct is exposed for easy Totp buildingTotp.ttlconvenience method will tell remaining validity time of token (not taking skew into account)New dependency
- [gen_secret] uses
randto generate a secretBreaking
- TotpUrlError now contain a string explaining. Inspired by #23
- Totp fields
issuerandaccount_namewon't be present anymore if featureotpauthisn't enabled- The secret and digits field will now be validated for SecretSize (>= 128 bits)
Special thanks
@sacovofor opening #23, from which the TotpUrlError rework was inspired@steven89for the tremendous work and back and forth provided with #24 #25 and #26Note
This has been, I think, the update containing the most work. While a lot of unit testing have been done, and test cases added, coverage seems to have dropped. Please report any issue encountered while updating totp-rs to 3.0.0
Commits
5abd752Merge pull request #28 from constantoine/refinementb6295aeFix doc tests7a3967fFix Workflow537350aPrepare for release and update Workflow994efb7Updated README and added a summary with updated examplescd903afMake otpauth fields only appear with otpauth feature0103e7aAdd test to secret.rs6b9f13fMerge pull request #25 from steven89/secret991a07bfix doc exampleab7bde0Merge branch 'master' into secret- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)