Automate the inspection of signed Configuration Profiles
Background
A manual, step-by-step process of using Terminal to make a timestamped, unsigned copy of a Configuration Profile was detailed as part of previous Sophos-specific post.
A new post introduces the uscp function which automates the inspection of signed Configuration Profiles:
The original, signed Configuration Profile’s signature “subjects” and modification date are displayed
A timestamped backup of the original, signed Configuration Profile is created and its signature removed
The unsigned backup Configuration Profile is formatted for readability and is opened in Visual Studio Code