Skip to content

Make SHA algorithm names more consistent - #11104

Merged
gewarren merged 3 commits into
dotnet:mainfrom
gewarren:sha-naming
Mar 18, 2025
Merged

Make SHA algorithm names more consistent#11104
gewarren merged 3 commits into
dotnet:mainfrom
gewarren:sha-naming

Conversation

@gewarren

Copy link
Copy Markdown
Collaborator

Use SHA-256 for algorithm. Use SHA256 for class name. See guidance.

(Hide whitespace changes.)

Fixes#11023. Replaces #11062.

@gewarren
gewarren requested review from a team, HongGit and mconnew as code ownersMarch 18, 2025 19:06
@github-actionsgithub-actionsBot added the area-System.Security Issues related to security practices for .NET developers. label Mar 18, 2025
@gewarrengewarren mentioned this pull request Mar 18, 2025
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

@gewarren - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates in the /// comments in the dotnet/runtime repo (or dotnet/extensions repo) instead.

@gewarren

Copy link
Copy Markdown
CollaboratorAuthor

@gewarren - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates in the /// comments in the dotnet/runtime repo (or dotnet/extensions repo) instead.

Updated in source too: dotnet/extensions#6149

@learn-build-service-prod

This comment was marked as outdated.

@learn-build-service-prod

Copy link
Copy Markdown

Learn Build status updates of commit 6a8c940:

✅ Validation status: passed

FileStatusPreview URLDetails
xml/Microsoft.Extensions.Compliance.Redaction/HmacRedactor.xml✅SucceededView
xml/System.CodeDom/CodeChecksumPragma.xml✅SucceededView
xml/System.Configuration.Assemblies/AssemblyHashAlgorithm.xml✅SucceededView
xml/System.IdentityModel.Tokens/InMemorySymmetricSecurityKey.xml✅SucceededView
xml/System.IdentityModel.Tokens/SecurityAlgorithms.xml✅SucceededView
xml/System.IdentityModel.Tokens/SymmetricSecurityKey.xml✅SucceededView
xml/System.IdentityModel.Tokens/X509AsymmetricSecurityKey.xml✅SucceededView
xml/System.IdentityModel/RsaEncryptionCookieTransform.xml✅SucceededView
xml/System.IdentityModel/RsaSignatureCookieTransform.xml✅SucceededView
xml/System.IO.Packaging/PackageDigitalSignatureManager.xml✅SucceededView
xml/System.Messaging/DefaultPropertiesToSend.xml✅SucceededView
xml/System.Messaging/Message.xml✅SucceededView
xml/System.Net.Http.Headers/HttpContentHeaders.xml✅SucceededView
xml/System.Net/HttpRequestHeader.xml✅SucceededView
xml/System.Net/HttpResponseHeader.xml✅SucceededView
xml/System.Reflection.Metadata/Document.xml✅SucceededView
xml/System.Reflection.PortableExecutable/PdbChecksumDebugDirectoryData.xml✅SucceededView
xml/System.Reflection/Assembly.xml✅SucceededView
xml/System.Reflection/AssemblyHashAlgorithm.xml✅SucceededView
xml/System.Security.Authentication/HashAlgorithmType.xml✅SucceededView
xml/System.Security.Cryptography.Pkcs/Pkcs12Builder.xml✅SucceededView
xml/System.Security.Cryptography.X509Certificates/X509Certificate.xml✅SucceededView
xml/System.Security.Cryptography.Xml/Reference.xml✅SucceededView
xml/System.Security.Cryptography.Xml/SignedInfo.xml✅SucceededView
xml/System.Security.Cryptography.Xml/SignedXml.xml✅SucceededView

This comment lists only the first 25 files in the pull request.
For more details, please refer to the build report.

For any questions, please:

@gewarren
gewarren merged commit 31b4b09 into dotnet:mainMar 18, 2025
@gewarren
gewarren deleted the sha-naming branch March 18, 2025 21:05
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.SecurityIssues related to security practices for .NET developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent spelling of HMAC SHA256 in Microsoft documentation

2 participants

@gewarren@bartonjs