-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b89
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142754 | emb-9 | Anthony Scarpino | P4 | Resolved | Fixed | team |
This test shows a failure with SunRsaSign.KeyFactory that occurs regularly with a Preferred Provider set to RSA going to SunRsaSign. The failure is a problem with SunRsaSign.
jdk/test/com/oracle/security/ucrypto/TestRSA.java:
javax.crypto.BadPaddingException: Message is larger than modulus
at sun.security.rsa.RSACore.parseMsg(RSACore.java:216)
at sun.security.rsa.RSACore.crtCrypt(RSACore.java:166)
at sun.security.rsa.RSACore.rsa(RSACore.java:122)
at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:390)
at javax.crypto.Cipher.doFinal(Cipher.java:2172)
at TestRSA.testEncryption(TestRSA.java:315)
at TestRSA.testCipher(TestRSA.java:252)
at TestRSA.doTest(TestRSA.java:217)
at UcryptoTest.main(UcryptoTest.java:60)
at TestRSA.main(TestRSA.java:210)
jdk/test/com/oracle/security/ucrypto/TestRSA.java:
javax.crypto.BadPaddingException: Message is larger than modulus
at sun.security.rsa.RSACore.parseMsg(RSACore.java:216)
at sun.security.rsa.RSACore.crtCrypt(RSACore.java:166)
at sun.security.rsa.RSACore.rsa(RSACore.java:122)
at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)
at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:390)
at javax.crypto.Cipher.doFinal(Cipher.java:2172)
at TestRSA.testEncryption(TestRSA.java:315)
at TestRSA.testCipher(TestRSA.java:252)
at TestRSA.doTest(TestRSA.java:217)
at UcryptoTest.main(UcryptoTest.java:60)
at TestRSA.main(TestRSA.java:210)
- backported by
-
JDK-8142754 Add ucrypto/TestRSA.java to ProblemList: Message is larger than modulus
-
- Resolved
-
- relates to
-
JDK-8139859 TestRSA.java: 'message larger than modulus' using SunRsaSign KeyFactory
-
- Resolved
-