Re: best way to implement unlock features in app
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