News for hackers. Stuff that matters.
Re:Show HN: Keygen – A dead-simple software licensing API bu... by KenanSulayman on Monday June 12, 2017 @02:48PM (#14539871)
Not to sound too negative, but NOPing out the invocation bypasses the licensing. At least in the native version. I like approaches where parts of the app are downloaded after licensing went through and the license key is actually a public key.

But maybe I’m missing the point?

Re:Show HN: Keygen – A dead-simple software licensing API bu... by X-Istence on Monday June 12, 2017 @03:06PM (#14540051)
NOP'ing out the invocation has always been an issue. There are a variety of frameworks for the Mac that make license keys using public/private key pairs, and a simple change to the ASM to return early and report success is easy enough to do.

There is:

https://github.com/glebd/cocoafob

For example, there is one other one that I can't remember the name for off the top of my head.

Re:Show HN: Keygen – A dead-simple software licensing API bu... by gruez on Monday June 12, 2017 @05:19PM (#14541212)
The respectable frameworks I've seen also offer obsfucation/virtualization to deter tampering. Thats the harder and more critical part.
Re:Show HN: Keygen – A dead-simple software licensing API bu... by timvdalen on Monday June 12, 2017 @03:55PM (#14540517)
I think the point you're missing is that this is designed to be used on the server-side so you don't have to roll your own licensing.

It seems to be mainly for APIs that provide a service, not for protecting client-side applications.

Re:Show HN: Keygen – A dead-simple software licensing API bu... by c0wb0yc0d3r on Monday June 12, 2017 @05:05PM (#14541109)
> It seems to be mainly for APIs that provide a service, not for protecting client-side applications.

I'm not so sure about that, right at the top of the page is has the line: "For licensing desktop apps, on-premise software, and other digital products." That certainly sounds like it is meant for client side applications.

The FAQ seems to indicate that it's meant for client side apps as well.

Re:Show HN: Keygen – A dead-simple software licensing API bu... by timvdalen on Monday June 12, 2017 @05:16PM (#14541185)
You're right, I hadn't actually re-read the page since the last Show HN (when it was just targeted at server-side)
Re:Show HN: Keygen – A dead-simple software licensing API bu... by _e on Monday June 12, 2017 @04:37PM (#14540908)
I like this idea. Offer a fully working copy with only a fraction of the features the licensed copy has. Features are "staged" so it builds on previously downloaded content and every download is tied to a unique public key.

This is what online games do with DLC (downloadable content).

Re:Show HN: Keygen – A dead-simple software licensing API bu... by gruez on Monday June 12, 2017 @05:18PM (#14541194)
Easier said than done because of all the extra work needed to seperate your features into dynamically loaded modules.