-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 19, 20
-
Component/s: tools
-
b31
-
Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8290100 | 20 | Alexander Matveev | P2 | Resolved | Fixed | b06 |
| JDK-8291400 | 19.0.2 | Alexander Matveev | P2 | Resolved | Fixed | b01 |
| JDK-8291243 | 19.0.1 | Alexander Matveev | P2 | Resolved | Fixed | b04 |
Signature is invalid on app-image after it was install/deployed via DMG or PKG.
PKG issue:
1) jpackage --type pkg -i input -n Test --main-class components.DynamicTreeDemo --main-jar DynamicTreeDemo.jar --mac-sign
2) Install pkg file
3) Verify signature and it will not be valid signature.
codesign -vvvv /Applications/Test.app
/Applications/Test.app: a sealed resource is missing or invalid
file added: /Applications/Test.app/Contents/app/.package
file missing: /Applications/Test.app/Contents/app/.jpackage.xml
DMG issue:
1) jpackage --type dmg -i input -n Test --main-class components.DynamicTreeDemo --main-jar DynamicTreeDemo.jar --mac-sign
2) Mount DMG file
3) Verify signature and it will not be valid signature.
codesign -vvvv /Volumes/Test/Test.app
/Volumes/Test/Test.app: a sealed resource is missing or invalid
file added: /Volumes/Test/Test.app/Contents/app/.package
file missing: /Volumes/Test/Test.app/Contents/app/.jpackage.xml
App-image DMG issue:
1) jpackage --type app-image -i input -n Test --main-class components.DynamicTreeDemo --main-jar DynamicTreeDemo.jar --mac-sign
2) jpackage --type dmg --app-image Test.app
3) Verify signature and it will not be valid signature.
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
file modified: /Volumes/Test/Test.app/Contents/runtime/Contents/Home/legal/java.compiler/COPYRIGHT
.....
file modified: /Volumes/Test/Test.app/Contents/runtime/Contents/Home/legal/jdk.zipfs/LICENSE
file missing: /Volumes/Test/Test.app/Contents/app/.jpackage.xml
App-image PKG issue:
Same as "App-image DMG issue".
PKG issue:
1) jpackage --type pkg -i input -n Test --main-class components.DynamicTreeDemo --main-jar DynamicTreeDemo.jar --mac-sign
2) Install pkg file
3) Verify signature and it will not be valid signature.
codesign -vvvv /Applications/Test.app
/Applications/Test.app: a sealed resource is missing or invalid
file added: /Applications/Test.app/Contents/app/.package
file missing: /Applications/Test.app/Contents/app/.jpackage.xml
DMG issue:
1) jpackage --type dmg -i input -n Test --main-class components.DynamicTreeDemo --main-jar DynamicTreeDemo.jar --mac-sign
2) Mount DMG file
3) Verify signature and it will not be valid signature.
codesign -vvvv /Volumes/Test/Test.app
/Volumes/Test/Test.app: a sealed resource is missing or invalid
file added: /Volumes/Test/Test.app/Contents/app/.package
file missing: /Volumes/Test/Test.app/Contents/app/.jpackage.xml
App-image DMG issue:
1) jpackage --type app-image -i input -n Test --main-class components.DynamicTreeDemo --main-jar DynamicTreeDemo.jar --mac-sign
2) jpackage --type dmg --app-image Test.app
3) Verify signature and it will not be valid signature.
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
file modified: /Volumes/Test/Test.app/Contents/runtime/Contents/Home/legal/java.compiler/COPYRIGHT
.....
file modified: /Volumes/Test/Test.app/Contents/runtime/Contents/Home/legal/jdk.zipfs/LICENSE
file missing: /Volumes/Test/Test.app/Contents/app/.jpackage.xml
App-image PKG issue:
Same as "App-image DMG issue".
- backported by
-
JDK-8290100 [macos] app image signature invalid when creating DMG or PKG
-
- Resolved
-
-
JDK-8291243 [macos] app image signature invalid when creating DMG or PKG
-
- Resolved
-
-
JDK-8291400 [macos] app image signature invalid when creating DMG or PKG
-
- Resolved
-
- relates to
-
JDK-8293462 [macos] app image signature invalid when creating DMG or PKG from post processed signed image
-
- Resolved
-
-
JDK-8250950 Allow per-user and system wide configuration of a jpackaged app
-
- Resolved
-
(2 links to)