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

Add a property that forces testEncryptionKeyLenths to run with key lengths 192 and 256

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.6.1.0
    • None
    • Test
    • None

    Description

      Currently the test testEncryptionKeyLengths will try to detect if unrestricted policy jars are in place and will run tests with encryption key lengths of 192 and 256 if supported. If they are not it will print the following warning:

      testEncryptionKeyLengths no unrestricted policy jars; cannot test AES encryption
      with encryptionKeyLengths 192 nor 256
      no unrestricted policy jars; cannot test AES encryption with encryptionKeyLength
      s 192 nor 256

      In some JVM configurations we always expect this test to run and pass. Since there is no failure, it is easy to miss if this tests regresses as seems to be currently happening in the IBM nightlies.
      http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/ibm16/797858-suites.All_diff.txt

      It would be good to have a property that forces the test to try these lengths regardless of what it detects is supported so such failures will be more obvious.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kmarsden Katherine Marsden
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: