You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐛 removed quoted string values for the following parameters: stale and algorithm
🐛 removed quoted string for the following parameters: algorithm, qop and nc
🐛 removed statle from the parameters and marked prev. code obsolete
🐛 fixed bugs mentioned in #115
💬 updated community health pages
📦 updated NuGet package definition
✅ updated test accordingly
Copy file name to clipboardExpand all lines: .nuget/Cuemon.AspNetCore.Authentication/PackageReleaseNotes.txt
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,13 @@ Availability: .NET 9 and .NET 8
4
4
# ALM
5
5
- CHANGED Dependencies to latest and greatest with respect to TFMs
6
6
7
+
# Bug Fixes
8
+
- FIXED DigestAuthenticationHandler class in the Cuemon.AspNetCore.Authentication.Digest namespace to remove quoted string values for the following parameters: stale and algorithm
9
+
- FIXED DigestAuthenticationMiddleware class in the Cuemon.AspNetCore.Authentication.Digest namespace to remove quoted string values for the following parameters: stale and algorithm
10
+
- FIXED DigestAuthorizationHeader class in the Cuemon.AspNetCore.Authentication.Digest namespace to remove quoted string values for the following parameters: algorithm, qop and nc
11
+
- FIXED DigestAuthorizationHeader class in the Cuemon.AspNetCore.Authentication.Digest namespace so stale is removed from the parameters including marking previous code obsolete
12
+
- FIXED DigestAuthorizationHeader class in the Cuemon.AspNetCore.Authentication.Digest namespace to accommodate the issues mentioned in https://github.com/gimlichael/Cuemon/issues/115
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
7
7
For more details, please refer to `PackageReleaseNotes.txt` on a per assembly basis in the `.nuget` folder.
8
8
9
-
## [9.0.4] - 2025-04-09
9
+
## [9.0.4] - 2025-04-10
10
10
11
-
This is a service update that focuses on package dependencies.
11
+
This is a service update that focuses on package dependencies and a few bug fixes.
12
+
13
+
> [!WARNING]
14
+
> The fix applied to the `DigestAuthenticationHandler`, `DigestAuthenticationMiddleware`, and `DigestAuthorizationHeader` classes in the `Cuemon.AspNetCore.Authentication.Digest` namespace changes both the `WWW-Authenticate` and `Authorization` headers. Justification for this patch is mentioned in [GitHub Issue #115](https://github.com/gimlichael/Cuemon/issues/115), but may affect existing implementations that rely on the previous behavior.
15
+
16
+
### Fixed
17
+
18
+
- Updated the `DigestAuthenticationHandler` class in the `Cuemon.AspNetCore.Authentication.Digest` namespace to remove quoted string values for the `stale` and `algorithm` parameters,
19
+
- Updated the `DigestAuthenticationMiddleware` class in the `Cuemon.AspNetCore.Authentication.Digest` namespace to remove quoted string values for the `stale` and `algorithm` parameters,
20
+
- Updated the `DigestAuthorizationHeader` class in the `Cuemon.AspNetCore.Authentication.Digest` namespace to:
21
+
- Remove quoted string values for the `algorithm`, `qop`, and `nc` parameters,
22
+
- Exclude the `stale` parameter and mark the previous implementation as obsolete,
23
+
- Address issues outlined in [GitHub Issue #115](https://github.com/gimlichael/Cuemon/issues/115).
AuthenticationHandlerFeature.Set(awaitHandleAuthenticateOnceSafeAsync().ConfigureAwait(false),Context);// so annoying that Microsoft does not propagate AuthenticateResult properly - other have noticed as well: https://github.com/dotnet/aspnetcore/issues/44100
/// <param name="qop">The "quality of protection" the client has applied to the message.</param>
55
82
/// <param name="response">The computed response which proves that the user knows a password.</param>
83
+
[Obsolete("This constructor is obsolete and will be removed in a future version. Use the 'DigestAuthorizationHeader' constructor without the 'stale' parameter instead.")]
/// Gets the case-insensitive flag indicating if the previous request from the client was rejected because the <see cref="Nonce"/> value was stale.
133
161
/// </summary>
134
162
/// <value>The case-insensitive flag indicating if the previous request from the client was rejected because the <see cref="Nonce"/> value was stale.</value>
163
+
[Obsolete("This property is obsolete and will be removed in a future version.")]
Copy file name to clipboardExpand all lines: src/Cuemon.AspNetCore.Authentication/GlobalSuppressions.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,3 +8,4 @@
8
8
[assembly:SuppressMessage("Major Code Smell","S107:Methods should not have too many parameters",Justification="By design to support the Digest protocol.",Scope="member",Target="~M:Cuemon.AspNetCore.Authentication.Digest.DigestAuthorizationHeader.#ctor(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)")]
9
9
[assembly:SuppressMessage("Performance","CA1847:Use char literal for a single character lookup",Justification="Not supported in .NET Standard 2.0 (and not an issue with an extra pico-second).",Scope="member",Target="~M:Cuemon.AspNetCore.Authentication.Basic.BasicAuthorizationHeader.#ctor(System.String,System.String)")]
10
10
[assembly:SuppressMessage("Style","IDE0130:Namespace does not match folder structure",Justification="Intentional as these embark on IDecorator.",Scope="namespace",Target="~N:Cuemon.AspNetCore.Authentication")]
11
+
[assembly:SuppressMessage("Major Code Smell","S107:Methods should not have too many parameters",Justification="By design to support the Digest protocol.",Scope="member",Target="~M:Cuemon.AspNetCore.Authentication.Digest.DigestAuthorizationHeader.#ctor(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)")]
0 commit comments