Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16744

db.properties reencrypts the password on restart even if it is already encrypted

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.11.1, 5.10.4, 6.0.1
    • Fix Version/s: 6.12.0
    • Component/s: Configuration, Database
    • Labels:
    • Sprint:
      Leap 37, Pom - Sprint 1, Pam - Quality 2

      Description

      On every restart, Artifactory will reencrypt the db.properties password even if it is encrypted already.  This makes any type of automation painful as the file changes on every restart.  We would like a system property that can be set to tell Artifactory to not reencrypt if the password is not in plain text and already encrypted.

       

      Reproduce

      start up a 5.10 instance and check the db.properties

      restart and see that the password is different in the db.properties file

        Attachments

          Activity

            People

            • Assignee:
              galba Gal Ben Ami
              Reporter:
              scottm Scott Mosher
              Assigned QA:
              Alex Dvorkin
            • Votes:
              12 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: