Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8230629

jpackage signing on macOS does not work as expected

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • internal
    • internal
    • tools

    Description

      To reproduce this issue download latest early access build (Build 14-jpackage+1-35 (2019/8/29)) and run command below with assumption that self signed certificate is generated and imported to keychain. These steps are omitted from bug report.

      jpackage --package-type pkg --input input2 --output output2 --name Test2 --main-jar DynamicTreeDemo.jar --main-class webstartComponentArch.DynamicTreeApplication --mac-sign --mac-signing-key-user-name openjdk.java.net --mac-signing-keychain jpackagerTest.keychain

      Check signatures for produced bundles.
      1) pkg is not signed. Unexpected.
      2) dmg is not signed. Expected.
      3) All binaries including Java runtime is signed with provided certificate. This is unexpected. We only should sign launcher and pkg.

      Attachments

        Issue Links

          Activity

            People

              almatvee Alexander Matveev
              almatvee Alexander Matveev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: