• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: best way to implement unlock features in app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: best way to implement unlock features in app


  • Subject: Re: best way to implement unlock features in app
  • From: Allan Odgaard <email@hidden>
  • Date: Thu, 06 Nov 2014 16:35:15 +0100

On 6 Nov 2014, at 15:00, sqwarqDev wrote:

[…] I can't find any guidance on exactly how do I generate and test for valid licence keys at run time?

I wrote this post about the general principles of a secure license key scheme: http://sigpipe.macromates.com/2004/09/05/using-openssl-for-license-keys/

Today you shouldn’t rely on openssl (as it’s deprecated on OS X). If you do not need to encrypt a payload (as in my post) then I suggest making the license be just a serial number followed by a signature on that number (maybe include a short hash of the owner name) — this should give a shorter license key and is also a more commonly supported operation of crypto libraries (generating a digital signature).
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: best way to implement unlock features in app
      • From: sqwarqDev <email@hidden>
References: 
 >best way to implement unlock features in app (From: sqwarqDev <email@hidden>)

  • Prev by Date: Re: best way to implement unlock features in app
  • Next by Date: Re: best way to implement unlock features in app
  • Previous by thread: Re: best way to implement unlock features in app
  • Next by thread: Re: best way to implement unlock features in app
  • Index(es):
    • Date
    • Thread