Under the Bridge

ValidateStoreReceipt

You putting together a Mac App Store project? That Validating App Store Receipts bit looking annoying to implement? Well, just pop on over to github and grab

ValidateStoreReceipt

At the end of October 2010 Apple announced the App Store for Mac. The App Store will put a receipt into your app bundle, but won’t implement any copy protection scheme.

Unfortunately this document doesn’t tell you how to process this receipt in detail, quote:

The payload of the PKCS7 container is encoded using ASN.1, as described by ITU-T X.690.

This validator parses and validates the payload and the PKCS7 container itself.

Why, how convenient, indeed. If it doesn’t work as advertised, we’ll be sure to let you know shortly!

6