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

Change secret text field to textarea to support multiline text

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          jackdpeterson 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.

          Show
          jackdpeterson 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.

            People

            • Assignee:
              Unassigned
              Reporter:
              cgee Carson Gee
            • Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: