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
- relates to
-
JDK-8317283 jpackage tests run osx-specific checks on windows and linux
-
- Resolved
-
-
JDK-8289030 [macos] app image signature invalid when creating DMG or PKG
-
- Closed
-
-
JDK-8250950 Allow per-user and system wide configuration of a jpackaged app
-
- Resolved
-
-
JDK-8286850 [macos] Add support for signing user provided app image
-
- Resolved
-
-
JDK-8313904 [macos] All signing tests which verifies unsigned app images are failing
-
- Resolved
-
-
JDK-8342544 [macos] jpackage test helper should check for both "--app-image" and "--mac-sign" for signing predefined app image case
-
- Resolved
-