Recent

Author Topic: App Store and Validating receipts - possible with Lazarus?  (Read 6528 times)

Clover

  • New Member
  • *
  • Posts: 46
App Store and Validating receipts - possible with Lazarus?
« on: January 26, 2011, 01:36:11 pm »
The new App Store includes the ability to validate an installation for a particular computer (to try to cut down on piracy) by validating a receipt file provided by Apple after download.

Apple helpfully provides some example C code snippets to validate the ASN.1 encoded binary receipt file and to compute the hash of the computer GUID (unique computer identifier). They also supply a utility called asn1c which produces some include files necessary for the various decoding operations.

Has anyone looked into whether it's possible to achieve receipt validation from within a Lazarus app?

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: App Store and Validating receipts - possible with Lazarus?
« Reply #1 on: January 26, 2011, 04:09:08 pm »
Has anyone looked into whether it's possible to achieve receipt validation from within a Lazarus app?

Very good question. You might check with Ryan over at the MacPascal forum. He's had a Carbon app accepted into the Mac App Store. Although he didn't use Lazarus, it does indicate that Lazarus apps are theoretically possible for the Mac App Store.

Ryan also has some tools that you can use to create the submission files outside of Xcode. Check his Web site:

http://www.thealchemistguild.org/pascal/

Thanks.

-Phil

Clover

  • New Member
  • *
  • Posts: 46
Re: App Store and Validating receipts - possible with Lazarus?
« Reply #2 on: January 26, 2011, 07:54:49 pm »
Thank Phill, will do.

Clover

  • New Member
  • *
  • Posts: 46
Re: App Store and Validating receipts - possible with Lazarus?
« Reply #3 on: January 27, 2011, 12:33:33 pm »
Sadly Ryan hasn't looked at this yet so I'm on my own.

 

TinyPortal © 2005-2018