Last active
May 24, 2023 20:08
-
-
Save wcoder/98ef669d5a87ba1539db021c9f76b6b3 to your computer and use it in GitHub Desktop.
Show a list of all iOS provisioning profiles with decoded content
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
#!/bin/bash | |
PP="$HOME/Library/MobileDevice/Provisioning Profiles" | |
echo $PP | |
echo "All Provisioning Profiles:" | |
ls -al "$PP" | |
echo "Decoded Provisioning Profiles:" | |
for file in $(ls "$PP") | |
do | |
echo "--- $file:\n" | |
security cms -D -i "$PP/$file" | |
echo "\n---\n" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, list of certs: