Generate JWT keys with Jwts.SIG algorithms
ProprietaryReplaces Keys.secretKeyFor(SignatureAlgorithm) and Keys.keyPairFor(SignatureAlgorithm), deprecated since JJWT 0.12, with Jwts.SIG.*.key().build() and Jwts.SIG.*.keyPair().build(). Algorithms that aren't constants are marked with a warning for a manual migration.
org. openrewrite. java. security. jjwt. MigrateKeyGenerationmod run . --recipe= org. openrewrite. java. security. jjwt. MigrateKeyGenerationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.