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

Mask Passwords Plugin is not masking default value of password parameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: mask-passwords-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.46.1 with default plugins (fresh installation) + Mask Passwords Plugin 2.10.1
    • Similar Issues:

      Description

      When password parameter value is not entered on "Build with parameters" but default value is used - this value is not masked, appears as clear text in Console output.

      When value is entered masking works great.

      Workaround for this issue is to specify Regular Expression for masking default value - something like /\bsupersecretpassword\b/ then masking works fine.

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Hm, it's probably a valid defect after the fixes.

          Which Password Parameter do you use (there are several ones in the core and plugins)?

          Show
          oleg_nenashev Oleg Nenashev added a comment - Hm, it's probably a valid defect after the fixes. Which Password Parameter do you use (there are several ones in the core and plugins)?
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Sorry, I was unable to find any time to work on this plugin. I have decided to mark it for adoption, so anybody is welcome to take ownership and to work on this issue.

          Show
          oleg_nenashev Oleg Nenashev added a comment - Sorry, I was unable to find any time to work on this plugin. I have decided to mark it for adoption, so anybody is welcome to take ownership and to work on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            michaljkowalski MichaƂ Kowalski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: