Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2854

fatjar invalid, contains incomplete signature

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.10
    • Fix Version/s: None
    • Component/s: contrib-fatjar
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fragfutter fragfutter
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: