News for hackers. Stuff that matters.

SNBS

Re:Show HN: Easy-to-use licensing library for .NET apps on Tuesday March 21, 2023 @12:58PM (#35249034)
If you can't find arguments against what I said, say it directly. However, goodbye.
Re:Show HN: Easy-to-use licensing library for .NET apps on Monday March 20, 2023 @02:05PM (#35235872)
Firstly, I don't think it's fine to give up.

I'll tell you how, I think, my library can be cracked. Of course, disassembling and deobfuscating. Then, I (adversary) have to find the is-license-valid method. Then make it return... not true, but an entity containing the corresponding information. (Which means I have to examine the structure of library.)

It's all, in the current version. I don't think it's enough, so I have a task to inject license validity checks into multiple places of the library. It'll cause headache after patching the is-license-valid method because there are other checks.

(Oh, yes, after patching I have to recompile the library.)

But in other licensing libraries the process is the same! My lib (at least when I'll "split" the license check) is not worse. Do you agree?

What does my lib do better than others? Let's start with the fact I couldn't find any "others" on GitHub. All licensing libraries I saw there work with "license files" (JSON/XML/something). I challenge you to find a competitor of mine there!

Then, what does it do better than the libraries working with license files? Such libs have one serious weakness. Someone payed for a license and got a signed file. Then he gives it to 10 friends, and they have activated program with no pay. This can't occur with my lib because each license activation is registered on the remote server, and it doesn't allow you to activate a license when there are too many previous activations.

What about "I didn't identify the audience of my library" — maybe I didn't catch it? Isn't it obvious?

Re:Show HN: Easy-to-use licensing library for .NET apps on Sunday March 19, 2023 @04:56PM (#35223519)
Currently working on the new API.
Re:Show HN: Easy-to-use licensing library for .NET apps on Sunday March 19, 2023 @03:43PM (#35222768)
I KNOW USING DIRECT CONNECTION TO DATABASE WAS A DUMB IDEA. TAKEN INTO ACCOUNT, WILL BE REPLACED WITH HTTP API IN NEXT VERSIONS. PLEASE DON'T LEAVE FEEDBACK ABOUT IT.
Re:Show HN: Easy-to-use licensing library for .NET apps on Sunday March 19, 2023 @03:38PM (#35222724)
Publicly accessible? Well, if you share the database username and password, maybe yes.

The credentials can be taken from the disassembled source code, but I've already taken it into account. The next versions will use an HTTP API.

Re:Show HN: Easy-to-use licensing library for .NET apps on Sunday March 19, 2023 @03:36PM (#35222694)
I don't really think, either, anybody will use a library that is almost in the state of initial development. It's the first.

Secondly, what do you want? I could use Roslyn to inject the license check into multiple parts of the library, but this is a dubious way.

Re:Show HN: Easy-to-use licensing library for .NET apps on Sunday March 19, 2023 @07:38AM (#35218011)
It doesn't need a database on the client side. It can connect to a server-side DB.
Re:Show HN: Easy-to-use licensing library for .NET apps on Sunday March 19, 2023 @07:37AM (#35218004)
Same things will happen with other licensing libraries (or I'm dumb). BTW, you have to disassemble the client app first! I think non-free apps are almost always obfuscated.
Re:Show HN: Easy-to-use licensing library for .NET apps on Sunday March 19, 2023 @07:33AM (#35217977)
I know. It's another kind of licensing. I've created a library specifically for activation keys.
Re:Show HN: Easy-to-use licensing library for .NET apps on Sunday March 19, 2023 @07:32AM (#35217970)
Please note it's only the first major version! Do you want a perfect, bug-free library in releases 1.x.x?! Your feedback was taken into account, though.
Re:Show HN: Easy-to-use licensing library for .NET apps on Sunday March 19, 2023 @07:28AM (#35217954)
Taken into account. Maybe an HTTP API will be introduced in version 2.0.0. Thanks for leaving your feedback!
Re:Can you beat my dad at Scrabble? on Saturday March 18, 2023 @02:14PM (#35211635)
Great! But what's the difference between "play with dad" and "play with ai"? Is your dad really sitting all the time and playing Scrabble on this site?! :D
Re:Bitwarden PINs can be brute-forced on Saturday March 18, 2023 @02:09PM (#35211585)
Well, isn't it just another post about unsafety of PINs like 1234?

Show HN: Easy-to-use licensing library for .NET apps

https://github.com/SNBSLibs/Licensing.ActivationKeys

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.ActivationKeysGitHub (downloads, full docs, release notes...

( Read More... | 34 comments | 2 points | on HN )
Re:Show HN: Licensing Library for C# on Thursday March 16, 2023 @01:22PM (#35185112)
This library is published to NuGet under ID SNBS.Licensing.ActivationKeys.
Re:Show HN: Licensing Library for C# on Thursday March 16, 2023 @02:27AM (#35178822)
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!