You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@codehaus.org> on 2010/12/22 13:27:57 UTC

[jira] Created: (MNG-4951) Create re-usable component for encrypting passwords

Create re-usable component for encrypting passwords
---------------------------------------------------

                 Key: MNG-4951
                 URL: http://jira.codehaus.org/browse/MNG-4951
             Project: Maven 2 & 3
          Issue Type: New Feature
    Affects Versions: 3.0.1
         Environment: n/a
            Reporter: Anders Hammar


I'm thinking of creating a plugin that would create the master password file and encrypt the passwords in settings.xml.
To create the master password and encrypting the passwords, I could copy the code in the private org.apache.maven.cli.MavenCli.encryption(...) method, but (as the comment in the code also suggests) moving the functionality to a re-usable component would be better. It should then be used by Maven as well as anything else that would do something similar (like a plugin).


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-4951) Create re-usable component for encrypting passwords

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249450#action_249450 ] 

Robert Scholte commented on MNG-4951:
-------------------------------------

Anders,

At codehaus I've started on a plugin called the setup-maven-plugin. One of it's features in encrypting passwords.
It's still a sandbox project and it was developed against Maven 3.0-alpha-1
Still some work to do, maybe even splitting it up in a few separate projects, now this kind of godmojo can setup anything

* http://mojo.codehaus.org/setup-maven-plugin
* http://mojo.codehaus.org/setup-maven-plugin/user-settings-mojo.html
* http://mojo.codehaus.org/setup-maven-plugin/global-settings-mojo.html
* http://mojo.codehaus.org/setup-maven-plugin/settings-security-mojo.html

> Create re-usable component for encrypting passwords
> ---------------------------------------------------
>
>                 Key: MNG-4951
>                 URL: http://jira.codehaus.org/browse/MNG-4951
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>    Affects Versions: 3.0.1
>         Environment: n/a
>            Reporter: Anders Hammar
>
> I'm thinking of creating a plugin that would create the master password file and encrypt the passwords in settings.xml.
> To create the master password and encrypting the passwords, I could copy the code in the private org.apache.maven.cli.MavenCli.encryption(...) method, but (as the comment in the code also suggests) moving the functionality to a re-usable component would be better. It should then be used by Maven as well as anything else that would do something similar (like a plugin).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MNG-4951) Create re-usable component for encrypting passwords

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249462#action_249462 ] 

Anders Hammar commented on MNG-4951:
------------------------------------

Robert, thanks for the heads-up! I'll continue the discussion regarding that plugin somewhere else more appropriate.

In any case, that plugin proves the point of the enhancement in this jira.

> Create re-usable component for encrypting passwords
> ---------------------------------------------------
>
>                 Key: MNG-4951
>                 URL: http://jira.codehaus.org/browse/MNG-4951
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>    Affects Versions: 3.0.1
>         Environment: n/a
>            Reporter: Anders Hammar
>
> I'm thinking of creating a plugin that would create the master password file and encrypt the passwords in settings.xml.
> To create the master password and encrypting the passwords, I could copy the code in the private org.apache.maven.cli.MavenCli.encryption(...) method, but (as the comment in the code also suggests) moving the functionality to a re-usable component would be better. It should then be used by Maven as well as anything else that would do something similar (like a plugin).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira