Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-788

'store/encryptionKey.sql' fails on Solaris 10

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.0.2.1, 10.1.2.1
    • Fix Version/s: 10.1.3.1, 10.2.1.6
    • Component/s: Services, Test
    • Labels:
      None
    • Environment:
      Solaris 10 (generic hardware)
      Sun JDK 5.0 with the 'SunPCKS11-Solaris' Java Security provider
    • Bug behavior facts:
      Regression Test Failure

      Description

      The 'store/encryptionKey.sql' test fails on Solaris 10.
      Investigation revealed that the failure is caused by a difference in behavior between the 'SunPCKS11-Solaris' provider and other providers (tested with 'SunJCE' and 'IBMJCE').

      The initialization of the DES cipher fails because the 16 byte key (specified in the test) is not translated to a 8 byte DES key by SecretKeyFactory.translateKey(). This might be a bug in the provider (I don't know the spec). Enquiries are being made.

      The exception is being thrown from the constructor of 'impl.services.jce.JCECipherProvider'.

        Attachments

        1. DERBY-788-1a.diff
          13 kB
          Kristian Waagan
        2. DERBY-788-1a.stat
          0.2 kB
          Kristian Waagan

          Issue Links

            Activity

              People

              • Assignee:
                kristwaa Kristian Waagan
                Reporter:
                kristwaa Kristian Waagan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: