checks if an application is pristine (untampered) and from the official Mac App Store
Objective-C
Switch branches/tags
Nothing to show
Clone or download
Latest commit ec8944f May 3, 2016
Permalink
Failed to load latest commit information.
fromAppStore.xcodeproj Initial commit May 4, 2016
fromAppStore Initial commit May 4, 2016
README.md Update README.md May 4, 2016

README.md

fromAppStore

Checks if an application is pristine (untampered) and from the official Mac App Store.
For technical details, see the blog post; "Are you from the Mac App Store?"

Code inspired by: RVNReceiptValidation

$ /fromAppStore /Applications/1Password.app
checking if 1Password.app is from the OS X App Store
app is signed with an Apple Dev. ID
found receipt at: /Applications/1Password.app/Contents/_MASReceipt/receipt

check 1 passed: bundle ID's match
check 2 passed: app versions match
check 3 passed: hashes match
verfied app's receipt; it's from the OS X App Store!