Skip to content

Using Real RSA key instead of random BigInteger generated RSAPrivateK… - #48

Merged
theanubhava merged 1 commit into
masterfrom
t/anubhava/W-22133858-spring7-upgrade
May 6, 2026
Merged

theanubhava merged 1 commit into
masterfrom
t/anubhava/W-22133858-spring7-upgrade

Conversation

@theanubhava

Copy link
Copy Markdown
Contributor

…eySpec

JwtBearerOAuthTest.setUp -> createTestPrivateKey was failing in GitHub Actions.

Why Failing: Newer JDK 17 patch on CI runners validates RSA key math — the test was passing fake (invalid) key parameters that are now rejected.

Fix: Use KeyPairGenerator to create a real RSA key instead of faking one with random numbers.

@theanubhava
theanubhava merged commit d961020 into master May 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant