jpackage OS/X --app-image signing

Michael Hall mik3hall at gmail.com
Wed Sep 7 13:28:11 UTC 2022



> On Sep 6, 2022, at 8:00 PM, Michael Hall <mik3hall at gmail.com> wrote:
> 
> 
> 
>> On Sep 6, 2022, at 4:52 PM, Michael Hall <mik3hall at gmail.com> wrote:
>> 
>> 
>> 
>>> On Sep 6, 2022, at 4:48 PM, Alexander Matveev <alexander.matveev at oracle.com> wrote:
>>> 
>>> Hi Michael,
>>> 
>>> Did you generate application image with same JDK version (19+36-2238)? With latest JDK version .jpackage.xml file should be present. We do not support signing of application images generate by another versions of JDK. It should be same JDK.
>>> 
>>> Thanks,
>>> Alexander
>>> 
>> 
> 
> Found this explains some of it.
> 
> Re: [jdk19] RFR: 8289030: [macos] app image signature invalid when creating DMG or PKG [v3]

Added this after my build script jpackage invocation to verify .jpackage.xml and version are correct

cat "BlackJack Blastoff_Unsigned.app/Contents/app/.jpackage.xml" | grep "jpackage-state version=“

Showing 
<jpackage-state version="19" platform="macOS">
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20220907/df79d2ba/attachment.htm>


More information about the core-libs-dev mailing list