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

Signed Application of Blowfish algorithm won't work properly under Global Policy

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      sparc
    • OS:
      solaris_7

      Description

      1. Signed Application of Blowfish algorithm won't work properly under Global Policy, the same for DESede, PBEWithMD5AndDES/CBC/PKCS5Padding and PBEWithMD5AndTripleDES
      2. Signed Application of Blowfish, ESede, PBEWithMD5AndDES/CBC/PKCS5Padding and PBEWithMD5AndTripleDES algorithm all work well under domestic policy
      3. Signed Application of PBEWithMD5AndDES (with delfault mode and padding) work under Global Policy

      see the following exceptions for more information.
      Testing: blowfish/PCBc/NoPaDDing Key Size 448
      java.lang.SecurityException: Unsupported keysize or algorithm parameters
              at javax.crypto.Cipher.init([DashoPro-V1.2-120198], Compiled Code)
              at TestEnforceSignedAppBlowfish.runTest(TestEnforceSignedAppBlowfish.java, Compiled Code)
              at TestEnforceSignedAppBlowfish.run(TestEnforceSignedAppBlowfish.java, Compiled Code)
              at TestEnforceSignedAppBlowfish.main(TestEnforceSignedAppBlowfish.java, Compiled Code)
      Testing: blowfish/PCBc/PKCS5Padding Key Size 400
      java.lang.SecurityException: Unsupported keysize or algorithm parameters
              at javax.crypto.Cipher.init([DashoPro-V1.2-120198], Compiled Code)
              at TestEnforceSignedAppBlowfish.runTest(TestEnforceSignedAppBlowfish.java, Compiled Code)
              at TestEnforceSignedAppBlowfish.run(TestEnforceSignedAppBlowfish.java, Compiled Code)
              at TestEnforceSignedAppBlowfish.main(TestEnforceSignedAppBlowfish.java, Compiled Code)
      Testing: blowfish/CfB8/NoPaDDing Key Size 352
      java.lang.SecurityException: Unsupported keysize or algorithm parameters
              at javax.crypto.Cipher.init([DashoPro-V1.2-120198], Compiled Code)
              at TestEnforceSignedAppBlowfish.runTest(TestEnforceSignedAppBlowfish.java, Compiled Code)
              at TestEnforceSignedAppBlowfish.run(TestEnforceSignedAppBlowfish.java, Compiled Code)
              at TestEnforceSignedAppBlowfish.main(TestEnforceSignedAppBlowfish.java, Compiled Code)
      Testing: blowfish/cFB/NoPaDDing Key Size 304
      java.lang.SecurityException: Unsupported keysize or algorithm parameters
              at javax.crypto.Cipher.init([DashoPro-V1.2-120198], Compiled Code)
              at TestEnforceSignedAppBlowfish.runTest(TestEnforceSignedAppBlowfish.java, Compiled Code)
              at TestEnforceSignedAppBlowfish.run(TestEnforceSignedAppBlowfish.java, Compiled Code)
              at TestEnforceSignedAppBlowfish.main(TestEnforceSignedAppBlowfish.java, Compiled Code)

      see attchment for more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              valeriep Valerie Peng
              Reporter:
              skesunw Stuart Ke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: