Find programmatic algorithm registration

Proprietary

Find calls to CryptoConfig.AddAlgorithm and CryptoConfig.AddOID, which change at runtime which implementation an algorithm name or OID resolves to. Such process-wide overrides need to be reviewed and updated as part of a migration to post-quantum algorithms.

OpenRewrite.CSharp.Recipes.Cryptography.FindProgrammaticAlgorithmRegistration
mod run . --recipe=OpenRewrite.CSharp.Recipes.Cryptography.FindProgrammaticAlgorithmRegistration

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.