{"id":5401,"date":"2012-07-23T22:41:30","date_gmt":"2012-07-24T02:41:30","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=5401"},"modified":"2023-05-29T10:19:05","modified_gmt":"2023-05-29T14:19:05","slug":"checking-app-store-receipts-on-os-x","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2012\/07\/23\/checking-app-store-receipts-on-os-x\/","title":{"rendered":"Checking App Store Receipts on OS X"},"content":{"rendered":"<p><a href=\"http:\/\/brockerhoff.net\/blog\/2012\/07\/22\/checking-receipts-on-os-x\/\">Rainer Brockerhoff<\/a>:<\/p>\n<blockquote cite=\"http:\/\/brockerhoff.net\/blog\/2012\/07\/22\/checking-receipts-on-os-x\/\"><p>No doubt Apple will now recommend to all OS X developers that their receipt verification codes also check the certificates &#8211; and in fact, that&rsquo;s what my apps are already doing. The certificates are, after all, available from the same parsing process recommended in the above link. At the very least, I recommend obtaining the SHA1 fingerprints of all 3 certificates (openssl has a SHA1() function for that) and checking them against the list above. And once that&rsquo;s done, obtaining the app&rsquo;s own signing certificates, and checking them, is also advisable, even if the app is signed with a Developer ID.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Rainer Brockerhoff: No doubt Apple will now recommend to all OS X developers that their receipt verification codes also check the certificates &#8211; and in fact, that&rsquo;s what my apps are already doing. The certificates are, after all, available from the same parsing process recommended in the above link. At the very least, I recommend [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-05-29T14:19:07Z","apple_news_api_id":"fa0f952b-773a-4a50-8bdd-46d4ef9ac2c5","apple_news_api_modified_at":"2023-05-29T14:19:07Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A-g-VK3c6SlCL3UbU75rCxQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[2392,30,71],"class_list":["post-5401","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-app-store-receipt-validation","tag-mac","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=5401"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5401\/revisions"}],"predecessor-version":[{"id":5403,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5401\/revisions\/5403"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=5401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=5401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=5401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}