ValidateStoreReceipt
ValidateStoreReceipt copied to clipboard
validate the receipt a well-known computer company's application store sends
On Lion, in-app purchase receipts are stored inside the MASReceipt/receipt file, in a separate section. Is it possible to include support for them in this (excellent) library? Thank you!
Great code you have there! Thanks. High Sierra whines about deprecation of SecKeychainSearchCreateFromAttributes, SecKeychainSearchCopyNext, CSSM_DATA and SecCertificateGetData inside `appleRootCert()`. Unfortunately my knowledge about encryption stuff is zero. Do you plan...
Lion
There are lots of deprecated warning under Lion: http://cl.ly/8f1r
Using some Macro magic we can do this. ``` objc #define makeStr(s) makePStr(s) #define makePStr(s) #s #if !defined APP_BUNDLE_ID && !defined APP_BUNDLE_VERSION #error Define APP_BUNDLE_ID and APP_BUNDLE_VERSION #endif NSString *...
Calling EVP_Cleanup in dictionaryWithAppStoreReceipt() can cause crashes elsewhere in an app that uses OpenSSL. It's probably safer to not call it at all.
Several places in the code where there are compiler warnings due to lack of const. e.g. ``` unsigned char const * p = octets->data; ``` Maybe the author doesn't know...