Issue with Node-Locked License and License Key Authentication #162
-
Hi, thanks for this great product, for open sourcing it and for opening up discussions here. We are currently evaluating keygen with the intent to go with Keygen Cloud eventually. One of our license models is a node-locked (single machine) license for both online and offline (air-gapped) installations. For online evaluation we provide a license key to the customer. The software will use the key to connect to the license server, activate a machine with a hardware-unique fingerprint if no machine was currently activated and then ultimately verify the license key via API. The user does not have to bother with the machine fingerprint at all. The current license policy therefore is: With all this in mind, how can we prevent the customer from doing the following steps to circumvent the 1 max machine limitation in the online case: Use the license key to deactivate any currently active machine, check in a new machine, checkout the new machine license, repeat We need |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Or to formulate it a little different: With the machine file certificates being a valid snapshot of the machine + license at time of checkout and the users being able to deactivate and activate a machine up to a limit of 1, what prevents them from generating as many valid machine file certificates as they want using a single license key? |
Beta Was this translation helpful? Give feedback.
I believe these issues are being tracked in keygen-sh/keygen-api#442 and keygen-sh/keygen-api#696. On our Ent tiers, you can utilize custom permissions to disable the license's ability to checkout license files by removing the
license.check-out
andmachine.check-out
permissions.. Right now, custom permissions are not available on our Std tiers. Outside of that, you can listen for webhooks, e.g.machine.checked-out
, to log and monitor this type of behavior and manually suspend licenses belonging to bad actors.