Hacker News new | ask | show | jobs
by Datsundere 2200 days ago
how does a license server work? did you build it yourself?
1 comments

It's in-house. A license has some info tied to the user (which ultimately has to be the Twitter user connected via Twitter). Then all that is signed with a private key ECDSA. The app has the public key and can verify the signature. Many libraries are available for handling cryptographic signatures.

So basically a license is public info, the app enforces that the logged in user must match the user in the license.