Unlocker - How to use?
-
Hi everyone,
as I'm currently working on the last few steps of implementing a Moonbase license system into our HISE Plugin, I stumbled upon the native Unlocker, which is available via the HISE API.
Initialising the Unlocker inside the script automatically seems to block the audio processing of the Plugin and the CPU is at 0%, regardless of what Preset I choose. Looking at the documentation I couldn't really figure out the workflow behind the Unlocker. I'm receiving a JWT license token by Moonbase, which then should be written into the KeyFile on the users device, but I can't manage to get this running.
I know that the Unlocker itself is part of HISE Activate - does that mean it can only be used within this setup? Or is the third party use of the Unlocker without HISE Activate still possible?
-
@Daanyoo said in Unlocker - How to use?:
I know that the Unlocker itself is part of HISE Activate - does that mean it can only be used within this setup? Or is the third party use of the Unlocker without HISE Activate still possible?
Yes absolutely. You can use the Unlocker without subscribing to Hise Activate. It uses the Unlocker API that was already available back then for people wanting to integrate manually.
Initialising the Unlocker inside the script automatically seems to block the audio processing of the Plugin and the CPU is at 0%, regardless of what Preset I choose. Looking at the documentation I couldn't really figure out the workflow behind the Unlocker. I'm receiving a JWT license token by Moonbase, which then should be written into the KeyFile on the users device, but I can't manage to get this running.
Have you created the RSA Key pair?
Tools -> Create RSA Key pair
My advice, before using a real license, is to make it working using a dummy license.Tools -> Create Dummy License File
ThenloadKeyFileto check if there's a license available (the dummy file in your case), and it automatically unlocks the binary/project...Depending on how you handle it, you might need to restart Hise between the different steps (though it is not mandatory)
-
Or is the third party use of the Unlocker without HISE Activate still possible?
HISE Activate is just the server side service that manages the licenses. If you want to use the Unlocker without HISE Activate, you can implement your own server database that handles this (I think @Dan-Korneff is doing this).
The Unlocker is not compatible with any other third party licensing systems though as they require their own logic.