DEV Community

How to signing digital signature for macos app bundle and linux executable

Nguyễn Tấn Dũng on November 27, 2018

I have an java swing application and building executable for three platform Window (exe), macOS(.app) an linux(.sh). I also have a .p12 certificate...
Collapse
 
dhandspikerwade profile image
Devin Handspiker-Wade

Signing Mac apps requires that you are using a certificate issued by Apple and the only way to sign an executable is with XCode. You're out of luck if you have to use a Linux build server. You'll need to run a build agent/runner on OSX.

As far as Linux, I don't know if I've seen a signed shell script. Signing an executable for Linux goes against the idea of FOSS. Linux programs normally provide a SHA1 or MD5 hash for the user to verify the executable with.

Collapse
 
tandung847 profile image
Nguyễn Tấn Dũng

I need my app can sign as an identified developer, not an unknown source or an unidentified developer, may be I need a lot of research for this issue.

Thanks for your helping.