You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short description of the issue/suggestion:
Are there code signing examples for linux / mac / windows? This can be rather complex for developers and examples in the documentation show the most basic use case without signing.
JavaPackager version: 1.7.5
OS version: Windows 10/11, MacOS (11.5+), Rocky 8 & 9, Ubuntu 20, 21, 22
JDK version: 17
Build tool:
[*] Maven
Gradle
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
I was able to get windows signing to work fairly easily.
On MacOS, I am scratching my head. A MacOS signing / deployment guide doc would be a huge help. Specifically more info about different launchers and how to handle different architectures would also help. Also why is JP replacing all signatures on all executables?
On Linux, I have no idea where to start. JP doesn't seem to have signing options in the config file for linux so I am guessing this is something to be done after deb / rpms are built?
Thanks !
The text was updated successfully, but these errors were encountered:
Sorry, but I'm not a MacOS proficient user and also haven't a signing key 😢 ... this feature was partially developed and tested by some contributors and based on Apple documetation. As you can see in JP docs, you must provide next info to sign your ".app":
AFAIK you have to register as an Apple developer to get a signing key ... then you should store/register this key on your Mac and specify the signing key's Developer ID, and then you set this ID in your POM: macConfig.developerId=XYZ.
Also, entitlements are the permissions your app need to run. For a Java app, JP provides a default entitlements file.
And notarization is a process where Apple verifies your application to make sure it has a Developer ID code signature and doesn't contain malicious content.
linux
No one has requested this feature, so it's not implemented in JP.
I'm submitting a…
Short description of the issue/suggestion:
Are there code signing examples for linux / mac / windows? This can be rather complex for developers and examples in the documentation show the most basic use case without signing.
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
I was able to get windows signing to work fairly easily.
On MacOS, I am scratching my head. A MacOS signing / deployment guide doc would be a huge help. Specifically more info about different launchers and how to handle different architectures would also help. Also why is JP replacing all signatures on all executables?
On Linux, I have no idea where to start. JP doesn't seem to have signing options in the config file for linux so I am guessing this is something to be done after deb / rpms are built?
Thanks !
The text was updated successfully, but these errors were encountered: