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 2012/10/03 08:54:36 UTC

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

Anders Hammar created MNG-5356:
----------------------------------

             Summary: Make encrypt/decrypt logic pluggable
                 Key: MNG-5356
                 URL: https://jira.codehaus.org/browse/MNG-5356
             Project: Maven 2 & 3
          Issue Type: Improvement
         Environment: n/a
            Reporter: Anders Hammar


It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.

This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MNG-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Hammar updated MNG-5356:
-------------------------------

    Fix Version/s: 3.1
    
> Make encrypt/decrypt logic pluggable
> ------------------------------------
>
>                 Key: MNG-5356
>                 URL: https://jira.codehaus.org/browse/MNG-5356
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: n/a
>            Reporter: Anders Hammar
>             Fix For: 3.1
>
>
> It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.
> This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MNG-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Hammar updated MNG-5356:
-------------------------------

    Fix Version/s:     (was: 3.2)
                   3.1
    
> Make encrypt/decrypt logic pluggable
> ------------------------------------
>
>                 Key: MNG-5356
>                 URL: https://jira.codehaus.org/browse/MNG-5356
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Anders Hammar
>             Fix For: 3.1
>
>
> It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.
> This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

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

Anders Hammar commented on MNG-5356:
------------------------------------

The work on this is performed here: https://github.com/devoteam-se/maven-3/tree/MNG-5356

                
> Make encrypt/decrypt logic pluggable
> ------------------------------------
>
>                 Key: MNG-5356
>                 URL: https://jira.codehaus.org/browse/MNG-5356
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Anders Hammar
>             Fix For: 3.2
>
>
> It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.
> This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MNG-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-5356:
-------------------------------

    Fix Version/s:     (was: 3.1.0)
                   3.1.1
    
> Make encrypt/decrypt logic pluggable
> ------------------------------------
>
>                 Key: MNG-5356
>                 URL: https://jira.codehaus.org/browse/MNG-5356
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Anders Hammar
>             Fix For: 3.1.1
>
>
> It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.
> This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

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

Anders Hammar commented on MNG-5356:
------------------------------------

When/if we do this we also need to update the maven-deps image of the site.
                
> Make encrypt/decrypt logic pluggable
> ------------------------------------
>
>                 Key: MNG-5356
>                 URL: https://jira.codehaus.org/browse/MNG-5356
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Anders Hammar
>             Fix For: 3.1.1
>
>
> It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.
> This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MNG-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314060#comment-314060 ] 

Jason van Zyl commented on MNG-5356:
------------------------------------

If this is really just a resuable encrypt/decrypt component I would recommend separating it from the core.
                
> Make encrypt/decrypt logic pluggable
> ------------------------------------
>
>                 Key: MNG-5356
>                 URL: https://jira.codehaus.org/browse/MNG-5356
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Anders Hammar
>             Fix For: 3.1.0
>
>
> It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.
> This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MNG-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Hammar reassigned MNG-5356:
----------------------------------

    Assignee: Anders Hammar
    
> Make encrypt/decrypt logic pluggable
> ------------------------------------
>
>                 Key: MNG-5356
>                 URL: https://jira.codehaus.org/browse/MNG-5356
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Anders Hammar
>             Fix For: 3.1
>
>
> It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.
> This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

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

Anders Hammar commented on MNG-5356:
------------------------------------

Yes, DefaultSettingsDecrypter uses the new Crypto component.
                
> Make encrypt/decrypt logic pluggable
> ------------------------------------
>
>                 Key: MNG-5356
>                 URL: https://jira.codehaus.org/browse/MNG-5356
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Anders Hammar
>             Fix For: 3.1.1
>
>
> It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.
> This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MNG-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314355#comment-314355 ] 

Jason van Zyl commented on MNG-5356:
------------------------------------

Have you taken a look at the SettingsDecrypter in maven-settings-builder? I'll pull your branch in and take a closer look now that 3.1.0 is almost wrapped up.
                
> Make encrypt/decrypt logic pluggable
> ------------------------------------
>
>                 Key: MNG-5356
>                 URL: https://jira.codehaus.org/browse/MNG-5356
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Anders Hammar
>             Fix For: 3.1.1
>
>
> It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.
> This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MNG-5356) Make encrypt/decrypt logic pluggable

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

Anders Hammar commented on MNG-5356:
------------------------------------

We should add an interface for this using org.apache.maven namespace and a default implementation which could be a simple wrapper on the current existing impl.
                
> Make encrypt/decrypt logic pluggable
> ------------------------------------
>
>                 Key: MNG-5356
>                 URL: https://jira.codehaus.org/browse/MNG-5356
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Anders Hammar
>             Fix For: 3.1
>
>
> It would be good if Maven Core facilitated the encryption (and decryption) logic to be replaceable. Today's solution is very much hard-coded to the plexus logic.
> This would make it possible for enterprise environments to re-use existing solutions, like for eg smart cards, for this. The default should be the current implementation though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira