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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com