Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-764

username and credentials shown as INFO on commadline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.9.4
    • None

    Description

      Using git repository with gitblit on HTTPS.

      Every git command which involve the remote repository (like fetch, pull, push and so on) showing the username and credentials on the commandline like this:

      [INFO] Executing: cmd.exe /X /C "git push https://user:secret@devserver/gitblit//r/waffel/devopts.git test-branch"

      It should be avoided to ever print out passwords on the command line. I have encrypted the password in maven settings.xml ... but now it comes back and anybody can see them (also on a continues build server which should push with a dedicated user to a central repo).

      Attachments

        Activity

          People

            olamy Olivier Lamy
            waffel Thomas Wabner
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: