You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "fragfutter (JIRA)" <ji...@apache.org> on 2017/07/24 13:09:00 UTC

[jira] [Created] (ZOOKEEPER-2854) fatjar invalid, contains incomplete signature

fragfutter created ZOOKEEPER-2854:
-------------------------------------

             Summary: fatjar invalid, contains incomplete signature
                 Key: ZOOKEEPER-2854
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2854
             Project: ZooKeeper
          Issue Type: Bug
          Components: contrib-fatjar
    Affects Versions: 3.4.10
            Reporter: fragfutter
            Priority: Minor


The fatjar in 3.4.10 contains signature parts (META-INF/BCKEY.DSA and META-INF/BCKEY.SF). As a result it is not runnable

Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

deleting these from the jar solves the issue.
{{zip -d contrib/fatjar/*-fatjar.jar 'META-INF/*.SF' 'META-INF/*.DSA'}}

As far as i know a jar is signed all or nothing.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)