Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-5926

Simplify handling of Internal Key Bindings in statedump

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:

      Description

      Low priority issue, should probably be deferred until 6.9.0.

      The Statedump code for exporting/importing Internal Key Bindings is (de)serializing the InternalKeyBindingInfos directly. This is not a good solution since these objects contain DynamicUiProperties, which might contain version-specific lists of available choices, etc.

      Instead we should export the LinkedHashMap returned by getDataMapToPersist + the name/id/keyalg/... fields in the Internal Key Binding.

      Attached is a patch to make this change.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              samuel Samuel Lidén Borell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day, 4 hours
                  1d 4h
                  Remaining:
                  Remaining Estimate - 1 day, 4 hours
                  1d 4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified