Last active
March 25, 2022 20:41
-
-
Save carlashley/4451c731546b5de3215c6279c2f39dd8 to your computer and use it in GitHub Desktop.
Code Signing Scripts on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Find valid code signing certificates with: | |
#/usr/bin/security find-identity -p codesigning -v | |
#Eg: | |
#[carl@pegasus]:outset # security find-identity -p codesigning -v | |
# 1) A898234JHSDFH38WERKHJSDFLJ2UY4092367HJK9H4J18 "Mac Developer: [email protected] (ABC01FFFGH)" | |
# 1 valid identities found | |
#Code Sign file with: | |
#/usr/bin/codesign -s "Mac Developer: [email protected] (ABC01FFFGH)" -i <bundleID> <file> | |
Eg: | |
/usr/bin/codesign -s "Mac Developer: [email protected] (ABC01FFFGH)" -i com.github.tccprofile tccprofile.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment