[
https://jira.codehaus.org/browse/MJARSIGNER-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281455#comment-281455
]
Christian Schulte commented on MJARSIGNER-21:
---------------------------------------------
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6561126
http://hg.openjdk.java.net/jdk7/tl/jdk/rev/29b076bfeafd
I think you need to use '-digestalg SHA-1' with JDK 7 or '-digestalg SHA-256'
with JDK 6 to make this work.
{code:xml}
<configuration>
<arguments>
<argument>-digestalg</argument>
<argument>${jarsigner.digestalg}</argument>
</argument>
</configuration>
{code:xml}
> jars signed using Java 7 have "invalid SHA1 signature"
> ------------------------------------------------------
>
> Key: MJARSIGNER-21
> URL: https://jira.codehaus.org/browse/MJARSIGNER-21
> Project: Maven 2.x Jar Signer Plugin
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Java 7, Maven 2.2.1
> Reporter: Mike Calmus
> Priority: Critical
>
> Using the plugin with Java 6 works fine. When I use it with Java 7, my applet
> won't load because the SHA1 signatures are invalid.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira