Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-jarsigner-1.2
-
None
Description
when unsigning a jar, we must remove of the signatures files from the META-INF package + remove any signing attributes (like SHA1-DIGEST ones).
The problem occurs in fact when a jar was signed by jdk6, unsign it, then resign it with a jdk7.
since the digest algorithm since jdk7 is no more the same, we still have some entry in the manifest which does not match the effective signing...
the best way to remove this is just to clean the manisfest file.
Attachments
Issue Links
- is depended upon by
-
MJARSIGNER-21 jars signed using Java 7 have "invalid SHA1 signature"
- Closed