Created
April 2, 2021 02:18
-
-
Save vancluever/0c283685544379188b592d2eda62540e to your computer and use it in GitHub Desktop.
Validate MacOS Binary's Signature/Notarization Status
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
#!/usr/bin/env sh | |
spctl -a -vv "$1" && codesign --test-requirement="=notarized" --verify --verbose "$1" && codesign -dv --verbose=4 "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment