Find insecure Rfc2898DeriveBytes constructors (SYSLIB0041)
ProprietaryFinds Rfc2898DeriveBytes constructor calls that use default SHA1 or low iteration counts, which are obsolete in .NET 7 (SYSLIB0041). Specify HashAlgorithmName and at least 600,000 iterations.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net7. FindRfc2898InsecureCtorsmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net7. FindRfc2898InsecureCtorsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.