Difference between revisions of "Code Signing"

From Verge3D Wiki
Jump to navigationJump to search
m
Line 6: Line 6:


== macOS ==
== 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 <APPLE-ID-EMAIL> --password "@keychain:altool" --file <APP_OR_BINARY>


=== Verification ===
=== Verification ===


  codesign --verify --verbose binary_file
  codesign --verify --verbose <APP_OR_BINARY>

Revision as of 15:35, 26 January 2022

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 <APPLE-ID-EMAIL> --password "@keychain:altool" --file <APP_OR_BINARY>

Verification

codesign --verify --verbose <APP_OR_BINARY>