[HN Gopher] Show HN: Easy-to-use licensing library for .NET apps
___________________________________________________________________
Show HN: Easy-to-use licensing library for .NET apps
This free, open-source .NET library allows you to license your non-
free applications through activation keys. Follow the quick start
instructions and try it out in 5 minutes! Available on: NuGet
https://www.nuget.org/packages/SNBS.Licensing.ActivationKeys...
Website (full docs, downloads)
https://snbslibs.github.io/Licensing.ActivationKeys GitHub
(downloads, full docs, release notes etc.)
https://github.com/SNBSLibs/Licensing.ActivationKeys
Author : SNBS
Score : 16 points
Date : 2023-03-18 18:03 UTC (4 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| garganzol wrote:
| Why does it need a database on the client side? Sounds like a
| significant restriction. A lot of apps do not have a database at
| all or have an exotic one (NoSQL).
| swdev281634 wrote:
| I usually use something completely different for that use case.
| Specifically, ECDsaCng class from the standard library, which
| implements ECDSA asymmetric cryptoalgorithm.
|
| Generate a key pair, embed public key in your executable, keep
| private key private.
|
| A license is some JSON or XML or whatever, signed with the
| private key. If your licenses are permanent, and you don't need
| different license types, a license is just a signature of some
| computer ID (like hard drive serial), with that private key.
|
| Unlike the older RSA, ECDSA results in very small signatures,
| even for very strong curves like NIST P-521. These signatures
| only take couple lines in Base64 text format.
___________________________________________________________________
(page generated 2023-03-18 23:01 UTC)