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

Change secret text field to textarea to support multiline text

      Currently the interface for StringBinding/Secret Text is an HTML input field, so when a multiple line secret is pasted in, the newlines replaced with spaces. Simply inspecting my browser and changing that field to textarea resolves that issue, so the backend seems to support them fine, just the interface could use a small tweak to support longer/larger secret strings.

          [JENKINS-36835] Change secret text field to textarea to support multiline text

          Jack Peterson added a comment -

          Making the text-input a textarea does allow saving the secret text as multiline; however, the credentials are echoed out plain as day in the build logs ... effectively breaking the security model.

          See https://issues.jenkins-ci.org/browse/JENKINS-57369 as an example where that scenario would occur.

          Jack Peterson added a comment - Making the text-input a textarea does allow saving the secret text as multiline; however, the credentials are echoed out plain as day in the build logs ... effectively breaking the security model. See https://issues.jenkins-ci.org/browse/JENKINS-57369 as an example where that scenario would occur.

            Unassigned Unassigned
            cgee Carson Gee
            Votes:
            8 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: