Skip to content

Instantly share code, notes, and snippets.

@vancluever
Created April 2, 2021 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vancluever/0c283685544379188b592d2eda62540e to your computer and use it in GitHub Desktop.
Save vancluever/0c283685544379188b592d2eda62540e to your computer and use it in GitHub Desktop.
Validate MacOS Binary's Signature/Notarization Status
#!/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