Node-locked offline license files with docker #157
Closed
al-dpopowich
started this conversation in
General
Replies: 1 comment 26 replies
-
We've been working on a product for this exact use-case: https://github.com/keygen-sh/keygen-relay (spec) Still a WIP, but at the very least a beta should be out soon. |
Beta Was this translation helpful? Give feedback.
26 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Preface: I know the best we can do in offline licensing is obfuscate, especially for interpreted languages like python; who can stop a customer from tweaking the code to skip license validation altogether? Solution: We trust our customers. Have them sign contracts. We make it hard to subvert the process. We obfuscate. That said...
I have been writing/supporting a webapp software suite that my customer hosts in the cloud. They sell subscriptions to their customers for use of the webapp. But they have a few customers who will not use their software in the cloud and demand a behind-the-fence solution. They want to ship docker images and have them (ideally) node-locked. This is similar to #149, and as discussed there, there's no facility keygen can provide to prevent the 3rd party from copying the distribution and license-file to other hosts. Add to the mix that you cannot ID a docker container.
So here's an idea I'd like feedback on:
Let's say my customer is Acme and their customer is Customer...
activation-request
. This process:os.urandom(64)
)activation-request
.activation-request
and public-key are packaged and Customer sends it back to Acme.activation-request
along with public-key securely.activation-request
then using the public-key, encrypts theactivation-request
.machine
must be present.Yes, we're still obfuscating, but depending on the sophistication therein, we can make it really, really hard for a single customer to copy the distro to their subsidiaries' sites.
Thoughts on this scheme?
Beta Was this translation helpful? Give feedback.
All reactions