How to sign executable for sandbox

Issue #401

Find identity

security find-identity 

Sign with entitlements and identity. For macOS, use 3rd Party Mac Developer Application

codesign -f -s "3rd Party Mac Developer Application: Khoa Pham (123DK123F2)" --entitlements "MyApp.entitlements" "tool/mytool"

To enable harden runtime

codesign --verbose --force --deep -o runtime --sign
Written by

I’m open source contributor, writer, speaker and product maker.

Start the conversation