[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-406) Provide capability to create signed archives

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Thu May 10 08:49:18 EDT 2012


    [ https://issues.jboss.org/browse/SHRINKWRAP-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12691814#comment-12691814 ] 

Andrew Rubinger commented on SHRINKWRAP-406:
--------------------------------------------

Nice feature request.  ZipExporter is just the client view which inherits its support from StreamExporter, so likely SignedZipExporter would also be: "public interface SignedZipExporter extends StreamExporter", a la:

  https://github.com/shrinkwrap/shrinkwrap/blob/master/api/src/main/java/org/jboss/shrinkwrap/api/exporter/ZipExporter.java

Also we'd need a corresponding Importer.

For the implementation, I wonder if it'd make sense to do this programatically, or take the output of a ZipExporter export and pipe that into jarsigner:

  http://docs.oracle.com/javase/tutorial/deployment/jar/signing.html

...which feels hacky, calling out to another process.  Other ideas?
                
> Provide capability to create signed archives
> --------------------------------------------
>
>                 Key: SHRINKWRAP-406
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-406
>             Project: ShrinkWrap
>          Issue Type: Feature Request
>    Affects Versions: 1.1.0-alpha-3
>            Reporter: Bartosz Baranowski
>              Labels: archive, feature, security, sign
>
> There should be a way to produce signed archives( jars for instance ) since those may be required by some tests.

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

        


More information about the shrinkwrap-issues mailing list