RFR: JDK-8230629: jpackage signing on macOS does not work as expected
alexey.semenyuk at oracle.com
Thu Sep 12 21:57:57 UTC 2019
Thank you, looks good.
On 9/12/2019 5:44 PM, Alexander Matveev wrote:
> Hi Alexey,
> I simplified isFileSigned() as you suggested.
> On 9/12/2019 4:13 AM, Alexey Semenyuk wrote:
>> Looks good, though
>> List<String> args = new ArrayList<>();
>> 940 args.addAll(Arrays.asList("codesign",
>> 941 "--verify",
>> 942 file.toString()));
>> 944 ProcessBuilder pb
>> 945 = new ProcessBuilder(args.toArray(new
>> can be as simple as:
>> ProcessBuilder pb = new ProcessBuilder("codesign", "--verify",
>> - Alexey
>> On 9/11/2019 11:53 PM, Alexander Matveev wrote:
>>> Please review the jpackage fix for bug  at .
>>> This is a fix for the JDK-8200758-branch branch of the open sandbox
>>> repository (jpackage).
>>> - Binaries in runtime and Frameworks will not be signed directly
>>> using user provided certificate.
>>> - libapplauncher.dylib will be signed with user provided certificate
>>> only if it is unsigned.
>>> - When signing is enabled app and pkg will be signed, but not dmg.
>>> App inside pkg and dmg will be signed as well.
>>>  https://bugs.openjdk.java.net/browse/JDK-8230629
>>>  http://cr.openjdk.java.net/~almatvee/8230629/webrev.00/
More information about the core-libs-dev