Skip to content

Conversation

vcsjones
Copy link
Member

Summary

The documentation for the key length in IncrementalHash.CreateHMAC was incorrect regarding how the key adjustment is done, and used the hash size, not the block size, to indicate when the key would be adjusted.

Based on discussion in #8920, the fix is to just remove the erroneous content.

Fixes #8920.

@vcsjones vcsjones requested a review from a team as a code owner September 30, 2024 18:17
@ghost ghost added the area-System.Security Issues related to security practices for .NET developers. label Sep 30, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones

Copy link

Learn Build status updates of commit 7dff165:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Security.Cryptography/IncrementalHash.xml ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

@bartonjs bartonjs merged commit 45b1ff3 into dotnet:main Sep 30, 2024
3 checks passed
@vcsjones vcsjones deleted the hmac-keylen-fix branch September 30, 2024 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Security Issues related to security practices for .NET developers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IncrementalHash.CreateHMAC key hashing mistake
3 participants