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

[macos] app image signature invalid when creating DMG or PKG from post processed signed image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 20
    • 19
    • tools
    • b17

      App image signature invalid when creating DMG or PKG from post processed signed image.

      Steps to reproduce this issue:
      1) Generate unsigned app-image
      jpackage --type app-image -i input -n Test --main-class components.DynamicTreeDemo --main-jar DynamicTreeDemo.jar
      2) Sign generated app image
      jpackage --type app-image --app-image Test.app --mac-sign
      3) Generate DMG from signed app image
      jpackage --type dmg --app-image Test.app
      4) Mount DMG and check signature. Expected: Signature valid. Actual: Signature invalid.
      codesign -vvv /Volumes/Test/Test.app
      /Volumes/Test/Test.app: a sealed resource is missing or invalid
      file added: /Volumes/Test/Test.app/Contents/app/.package

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

              Created:
              Updated:
              Resolved: