Re:Ask HN: Side projects that are making money, but you'd no...
by Datsundere on Sunday June 07, 2020 @12:14AM
(#23444710)
how does a license server work? did you build it yourself?
Re:Ask HN: Side projects that are making money, but you'd no...
by abc126589 on Sunday June 07, 2020 @01:28AM
(#23444995)
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.
And sure enough Mac users account for 30% for the revenue today.
Another advantage is that it runs completely on the user's computer. So I have no database or back-end to maintain. There is only a small server to generate licenses + handle some analytics the app emits both built on ASP.NET. The only data I store is in a Microsoft Azure table. I pay around $2 a month for all azure costs.