The "jpackage" command tool provided by Oracle: It specifies some options for MacOS code signing:
--mac-sign --mac-package-signing-prefix "ST_DFG2D_ARM" --mac-signing-key-user-name "Pierre Bierre"
that it reformats when it runs and calls Apple's "codesign". Maybe you can show me how to translate these options into a discrete call to codesign?
[14:06:05.820] java.io.IOException: Command [/usr/bin/codesign, -s, Developer ID Application: Pierre Bierre (SL7L4YU8GT), -vvvv, --timestamp, --options, runtime, --prefix, ST_DFG2D_ARM, /var/folders/v7/06pp2_5d6gz9593k96n2z0v40000gn/T/jdk.jpackage8264959517592888307/images/image-10714515757680011645/DataflowGeometry2D.app/Contents/runtime/Contents/Home/lib/libnet.dylib] exited with 1 code
I tried this guess:
codesign --sign "Pierre Bierre (SL7L4YU8GT)" --force --options runtime --verbose --timestamp ~/DFG2D_MacOS_Manufacturing/MacOSInstallers/DFG2D_Mac_J17010_295
The response was:
error: The specified item could not be found in the keychain.
Note, I use the thumprint for authenticaion on my M2. Could that be the problem? On my intel-Mac, signing from the "jpackage" script WORKS , and it always begins by prompting me to enter my local MacOS password.
I need help to get past the signer , before I can tell if a -- force will solve the issue
Topic:
Code Signing
SubTopic:
General