Derby
  1. Derby
  2. DERBY-4229

encryptionKeyLength connection attribute should be documented

    Details

      Description

      The developer guide says:

      The length of the encryption key depends on the algorithm used:
      AES (128, 192, and 256 bits)
      DES (the default) (56 bits)
      DESede (168 bits)
      All other algorithms (128 bits)
      Note: The boot password should have at least as many characters as number of bytes in the encryption key (56 bits=8 bytes, 168 bits=24 bytes, 128 bits=16 bytes). The minimum number of characters for the boot password allowed by Derby is eight.

      For AES, however, it does not tell how to change the default key length of 128. This can be changed with the encryptionKeyLength connection attribute. The documentation should also specify that special policy files for the JRE may be necessary to accomodate the longer length.

      Also note that there is an outstanding issue DERBY-3710 regarding length of 192 for AES.

      1. rrefattribencryptkeylength.html
        5 kB
        Kim Haase
      2. rrefattribencryptkeylength.html
        5 kB
        Kim Haase
      3. DERBY-4229-3.diff
        5 kB
        Kim Haase
      4. DERBY-4229-2.stat
        0.1 kB
        Kim Haase
      5. DERBY-4229-2.diff
        4 kB
        Kim Haase
      6. DERBY-4229.diff
        2 kB
        Kim Haase
      7. cdevcsecure67151.html
        6 kB
        Kim Haase

        Issue Links

          Activity

          Gavin made changes -
          Workflow jira [ 12463506 ] Default workflow, editable Closed status [ 12802118 ]
          Kathey Marsden made changes -
          Fix Version/s 10.9.2.0 [ 12323562 ]
          Fix Version/s 10.9.1.1 [ 12321551 ]
          Kathey Marsden made changes -
          Fix Version/s 10.8.3.0 [ 12323456 ]
          Fix Version/s 10.8.2.3 [ 12318540 ]
          Kim Haase made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Kathey Marsden made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Kathey Marsden made changes -
          Fix Version/s 10.5.2.0 [ 12314116 ]
          Kathey Marsden made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Kim Haase made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Kim Haase made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Issue & fix info Patch Available [ 10102 ]
          Fix Version/s 10.5.3.1 [ 12314182 ]
          Fix Version/s 10.6.2.2 [ 12315370 ]
          Fix Version/s 10.7.1.4 [ 12315902 ]
          Fix Version/s 10.8.2.3 [ 12318540 ]
          Fix Version/s 10.9.1.1 [ 12321551 ]
          Fix Version/s 10.10.0.0 [ 12321550 ]
          Resolution Fixed [ 1 ]
          Kim Haase made changes -
          Attachment rrefattribencryptkeylength.html [ 12546327 ]
          Attachment DERBY-4229-3.diff [ 12546328 ]
          Kim Haase made changes -
          Issue & fix info Patch Available [ 10102 ]
          Kim Haase made changes -
          Attachment DERBY-4229-2.diff [ 12546086 ]
          Attachment DERBY-4229-2.stat [ 12546087 ]
          Attachment rrefattribencryptkeylength.html [ 12546088 ]
          Kim Haase made changes -
          Link This issue relates to DERBY-5805 [ DERBY-5805 ]
          Kim Haase made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Kathey Marsden made changes -
          Fix Version/s 10.5.2.0 [ 12314116 ]
          Fix Version/s 10.5.1.2 [ 12313870 ]
          Kim Haase made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Kim Haase made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Derby Info [Patch Available]
          Resolution Fixed [ 1 ]
          Kim Haase made changes -
          Affects Version/s 10.5.1.1 [ 12313771 ]
          Kim Haase made changes -
          Fix Version/s 10.5.1.2 [ 12313870 ]
          Derby Info [Patch Available]
          Kim Haase made changes -
          Link This issue relates to DERBY-2821 [ DERBY-2821 ]
          Kim Haase made changes -
          Attachment DERBY-4229.diff [ 12408619 ]
          Attachment cdevcsecure67151.html [ 12408620 ]
          Kim Haase made changes -
          Field Original Value New Value
          Assignee Kim Haase [ chaase3 ]
          Kathey Marsden created issue -

            People

            • Assignee:
              Kim Haase
              Reporter:
              Kathey Marsden
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development