From 718109256f97bebdc01e2a699b1637e1a0abab6a Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 12 Jan 2024 04:00:01 -0700 Subject: [PATCH] version update (#199) * version update * Update README.md for older release --- Google.Authenticator/Google.Authenticator.csproj | 3 ++- README.md | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Google.Authenticator/Google.Authenticator.csproj b/Google.Authenticator/Google.Authenticator.csproj index 4bc8161..e22fe34 100644 --- a/Google.Authenticator/Google.Authenticator.csproj +++ b/Google.Authenticator/Google.Authenticator.csproj @@ -6,7 +6,8 @@ Google Authenticator Two-Factor Authentication Library (Not officially affiliated with Google.) Brandon Potter Brandon Potter - 3.1.1 + 3.2.0 + Added support for HMACSHA256 and HMACSHA512 as per the RFC spec. Care should be taken by the developer to ensure compatible apps are used. Apache-2.0 https://github.com/BrandonPotter/GoogleAuthenticator GoogleAuthenticator diff --git a/README.md b/README.md index fa7215b..d8f6524 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,20 @@ bool result = tfa.ValidateTwoFactorPIN(key, txtCode.Text) ## Update history +### 3.2.0 + +Added support for HMACSHA256 and HMACSHA512 as per the [RFC spec](https://datatracker.ietf.org/doc/html/rfc6238#section-1.2). In testing it was found that several popular apps (such as Authy and Microsoft Authenticator) may not have support for these algorithms so care should be taken by the developer to ensure compatible apps are used. + ### 3.1.1 + Fixed an edge case where specifying an interval of 30 seconds to the Validate function would be treated as if you had passed in 0. ### 3.1.0 +- Removed .NET 5 and added .NET 7 to test frameworks +- Updated dependencies for test runs +- Support ValidateTwoFactorPIN with iterationOffset as parameter + ### 3.0.0 - Removed support for legacy .Net Framework. Lowest supported versions are now netstandard2.0 and .Net 4.6.2.