Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8139860

Add ucrypto/TestRSA.java to ProblemList: Message is larger than modulus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • security-libs

        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)

              ascarpino Anthony Scarpino
              ascarpino Anthony Scarpino
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: