Code Signing

From Verge3D Wiki
Revision as of 16:34, 26 January 2022 by Alexander (talk | contribs) (→‎macOS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Windows

Verification

signtool verify /pa binary_file.exe

macOS

Search for valid Developer ID Certificate:

security find-identity -v

Sign your binary/app:

codesign -s <ID> -o runtime -v <APP_OR_BINARY>

Notarize you binary/app:

xcrun altool --notarize-app --primary-bundle-id <BUNDLE_ID> --username <EMAIL> --password "@keychain:altool" --file <APP_OR_BINARY>

Verification

check singing:

codesign -vvv --deep --strict <APP_OR_BINARY>

check notarization:

codesign --test-requirement="=notarized" --verify --verbose <APP_OR_BINARY>