[
https://issues.apache.org/jira/browse/SCM-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961815#comment-17961815
]
ASF GitHub Bot commented on SCM-495:
------------------------------------
jira-importer commented on issue #712:
URL: https://github.com/apache/maven-scm/issues/712#issuecomment-2964614556
**[Matthew
McCullough](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=matthew.mccullough)**
commented
It appears that the decryption only exists in the DefaultMaven.java (wagon
dispatch) today. I'm adding it to AbstractScmMojo.java (conditionally) so that
in Maven 2.1 or higher we can encrypt SCM passwords.
Full description of the process and code changes:
http://ambientideas.com/blog/index.php/2009/08/encrypted-scm-passwords-in-maven/
Patch attached.
> Support for encrypted passwords in settings.xml
> -----------------------------------------------
>
> Key: SCM-495
> URL: https://issues.apache.org/jira/browse/SCM-495
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: New Feature
> Components: maven-plugin
> Environment: Should be platform independent solution.
> Reporter: Kurt Tometich
> Assignee: Benjamin Bentmann
> Priority: Major
> Fix For: 1.5
>
> Attachments: SCM-495.patch
>
>
> Currently, Maven 2.1.x and 2.2.x have support for storing encrypted passwords
> in the server.xml file and decrypting them for authentication to a specific
> maven repository. This task proposes a similar approach so that users can
> store their encrypted password in the server.xml file and the SCM plugin will
> decrypt and authenticate to the SCM server. I would assume this approach
> would use the same Maven crypto mechanism to encrypt/decrypt the passwords.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)