Find SignedXml/CmsSigner usage (default hash SHA-1 → SHA-256)
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindSignedXmlDefaultHashArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFlag usages of SignedXml and CmsSigner, whose default hash algorithm changes from SHA-1 to SHA-256 when retargeting to .NET Framework 4.7.1.
Single recipesearchdotnetnet-frameworkcryptoProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindSignedXmlDefaultHashIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet