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

SCP Publisher does not store/load the password properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Works as designed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 6.15.2, EJBCA 7.0.1
    • Component/s: None
    • Labels:

      Description

      Added some logging to the SCP Publisher and got this:

      [org.ejbca.scp.publisher.ScpPublisher] (default task-2) Private key password is: . Properties:

      {scp.privatekey.password=5550185bb1970ad66a3d65c5732e0f15, crl.scp.destination=localhost:/tmp/, signing.ca.id=-1, ssh.username=realiserad, scp.privatekey=/opt/wildfly/scp/key, scp.knownhosts=/opt/wildfly/scp/known_hosts, anonymize.certificates=true, cert.scp.destination=localhost:/tmp/}

      The SCP Publisher loads the encrypted password 5550185bb1970ad66a3d65c5732e0f15 = aes256(foo123) and decrypts it to an empty string?

      Then the SCP Publisher fails miserably.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bastianf Bastian Fredriksson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified