Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12129

[RTC Plugin] hide password in failure log messages

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • rtc-plugin
    • None

      The RTC password is masked in most places, but not if a command gets executed unsuccessfully. The log message on command-execution failure contains the clear text password.

      The log message comes from the JazzClient.popen()

      Here is the offending code:
      listener.error("Failed to run " + args.toStringWithQuote());

      If the user enters incorrect credentials the error message will make that clear (even without the clear text password). But if for example a locking error occurs, the password shouldn't be in clear text in log messages.
      Is it possible to mask the password in this situation as well?

            deluan Deluan Quintão
            schmagfran Frank S
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: