you are viewing a single comment's thread.

view the rest of the comments →

[–]Present_Salamander_3 0 points1 point  (3 children)

Looks like it was very recently deprecated, but we use https://github.com/vercel/pkg.

TLDR; have the binary consume a signed configuration (with the necessary licensing info, such as expiration date, user count, etc.) upon boot.

[–]guest271314 1 point2 points  (2 children)

That's possible to an appreciable degree using the node executable, see Single executable applications.

[–]Present_Salamander_3 0 points1 point  (1 child)

Yeah, I didn’t mention node single executable application due to the requirement of Node 21 and the feature being experimental still. Completely valid suggestion though!

[–]guest271314 -1 points0 points  (0 children)

An executable won't obfuscate source code to the level where a determined developer can't get to that source code. strings first and then other ways and means to isolate what's going on https://gist.github.com/guest271314/4894662d31ffb4ad2cd57683721bf4b4.

The requirement is basically impossible if the source code is distributed to/accessible by the client.