[ 
https://issues.apache.org/jira/browse/SCM-764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962911#comment-17962911
 ] 

ASF GitHub Bot commented on SCM-764:
------------------------------------

jira-importer commented on issue #971:
URL: https://github.com/apache/maven-scm/issues/971#issuecomment-2964636722

   
**[JQ](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jqassar)** 
commented
   
   Hello,
   
   The username and password are still being included in 1.9.4 when jgit is 
being used as the git provider:
   
   ```
   build        10-Apr-2015 14:04:46    [DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-scm-plugin:1.9.4:tag' with basic configurator 
-->
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) addTimestamp = false
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) basedir = 
/path/to/build/directory
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) connectionType = 
connection
   build        10-Apr-2015 14:04:46    [DEBUG]   (s) connectionUrl = 
scm:git:https://host.address/scm/repo/repo.git
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) developerConnectionUrl = 
scm:git:https://host.address/scm/repo/repo.git
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) providerImplementations = 
{git=jgit}
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) pushChanges = true
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) remoteTagging = true
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) settings = 
org.apache.maven.execution.SettingsAdapter@213b0eef
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) tag = blah-0.0.99-24
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) timestampFormat = 
yyyyMMddHHmmss
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) timestampPosition = end
   build        10-Apr-2015 14:04:46    [DEBUG]   (f) timestampPrefix = -
   build        10-Apr-2015 14:04:46    [DEBUG] 

> username and credentials shown as INFO on commadline
> ----------------------------------------------------
>
>                 Key: SCM-764
>                 URL: https://issues.apache.org/jira/browse/SCM-764
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-gitexe
>         Environment: Apache Maven 3.2.1 
> (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:52+01:00)
> Maven home: D:\Dev\maven\apache-maven-3.2.1
> Java version: 1.7.0_51, vendor: Oracle Corporation
> Java home: D:\Dev\Java\jdk7_51_x64\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Thomas Wabner
>            Assignee: Olivier Lamy
>            Priority: Major
>             Fix For: 1.9.4
>
>
> 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).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to