Find quantum-vulnerable public-key algorithms
ProprietaryFind where RSA, DSA, ECDSA and ECDH keys are created (RSA.Create(), new RSACryptoServiceProvider(), ECDsa.Create(curve), ...), looked up by name (AsymmetricAlgorithm.Create("RSA"), CryptoConfig.CreateFromName("ECDsa")) or loaded from certificates (GetRSAPrivateKey(), GetECDsaPublicKey(), ...). These algorithms are broken by Shor's algorithm on a quantum computer and need to migrate to post-quantum algorithms such as ML-KEM, ML-DSA or SLH-DSA.
OpenRewrite. CSharp. Recipes. Cryptography. FindQuantumVulnerableAlgorithmsmod run . --recipe= OpenRewrite. CSharp. Recipes. Cryptography. FindQuantumVulnerableAlgorithmsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.