Find KeyPairGenerator.getInstance("RSA") callers — verify 2048+ key size
ProprietaryRSA key sizes below 2048 bits are deprecated by NIST. Without seeing the initialize(...) call this recipe surfaces every getInstance("RSA") for review — confirm the key size is at least 2048 (preferably 3072 or migrate to Ed25519/X25519).
org. openrewrite. kotlin. security. FindRsaKeySizeBelow2048$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. security. FindRsaKeySizeBelow2048$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.