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

Statedump: Properties object is copied the wrong way when generating cryptotoken keys from a template

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 6.2.2
    • Component/s: PKI core
    • Labels:

      Description

      The code in CryptoTokenManagementSessionBean.removeKeyPairPlaceholder() uses the Properties constructor in an incorrect way. The argument of the constructor means "default values" but the code assumes that it is "values to copy". Instead, the code should use "properties.putAll()" to copy the properties.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samuel Samuel Lidén Borell
              Reporter:
              samuel Samuel Lidén Borell
              Verified by:
              Mike Agrenius Kushner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: