I use jpackage to create installers for my application. I've been using the incubator builds for some time now and been very happy with the results. I am now moving up to the Java 14 version and have run into some problems that I'm hoping folks here might have pointers for.
My problem is that when the program is packaged for OSX, it is signed in a way that I don't want it to be. I would prefer that there be no signature at all. Currently it's getting an Oracle signature. Initially the build works fine... but if it is uploaded then downloaded, the OS puts metadata on the files that invalidates the signature. I am hoping that this is just an artifact of using the Oracle version and the OpenJDK 14 vuild will take care of this. At the same time, I would also like to address this before then if possible, since I am looking to release shortly after the drop of Open JDK 14 (scheduled for the 17th). Below is how I'm using the tool.
I know that you can use the --mac-sign option to request that a build be signed, but is there anything you can do to specify that it not be signed? Conversely, is it possible that the signing is somehow happening earlier?
As an additional clue, I know that if I strip off the file attributes of everything in my app manually by hitting it with "xattr -r-c". This tells me that it's absolutely some kind of weird signing thing going on which prevents it from running when it detects that it has been downloaded from somewhere unexpected.
Again, really scratching my head here, and any help would be super appreciated.