Last active
March 24, 2017 12:07
-
-
Save iharkatkavets/592e24d2a58260005449d4e323e351ac to your computer and use it in GitHub Desktop.
This file contains 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
// get a glance at the identities ("SHA1" "Name") | |
$ security find-identity -v -p codesigning | |
// get information about the code signing status | |
$ codesign -vv -d Payload/Example.app | |
// entitlements embedded in binary | |
$ codesign -d --entitlements - Payload/Example.app/ | |
// verify provision profile | |
$ openssl smime -in PROFILE.mobileprovision -inform der -verify | |
// Find a certificate item and print SHA-1 hash of the certificate | |
$ security find-certificate -a -c 'NAME_OF_THE_CERTIFICATE' -Z login.keychain | |
// Check a PKCS#12 file (.pfx or .p12) | |
$ openssl pkcs12 -info -in CERTIFICATE.p12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment