Releases: Cryptolens/cryptolens-java
v1.27: Maven package + ExtendLicense method + remove commons-codec
This release introduces the following changes:
- We dropped commons-codec and replaced with a built in library in Java 8. Java 7, which is deprecated, required this dependency.
- GetMachineCode is cross platform when called with v=3. Calling with v=2 will use the older version that did not include Mac and Linux.
- oshi-core is optional. To avoid it, you can just call GetMachineCode with v=2 (Win) or v=3(Win+Mac+Linux).
- If you use oshi-core, we upgraded it to a newer version to fix issues on newer platforms.
- Introduced ExtendLicense method.
The package can be installed using Maven Central as per instructions on this page: https://central.sonatype.com/artifact/io.cryptolens/cryptolens/overview. This release includes a jar file as well.
Thanks to @sbraconnier, @sergey-oplavin and @stokpop.
v1.26: Update to HasFeature method
Minor update to HasFeature method and update of the gson library.
v1.25: Update method to obtain UUID
This version changes the way UUID is computed on Windows with v=2 (i.e. when either Helpers.GetMachineCode or Helpers.IsOnRightMachine is called with version parameter set to 2). Instead of using WMIC, the following command is used instead:
cmd /c powershell.exe -Command "(Get-CimInstance -Class Win32_ComputerSystemProduct).UUID"
Please note that in case of an error when retrieving the UUID, null will be returned.
v1.24: Add an option to disable SSL verification
SSL certificate verification can be disable by setting adding the following line before calling e.g., Key.Activate:
HelperMethods.SSLVerifyEnabled=false;v1.24: Add an option to disable SSL verification
SSL certificate verification can be disable by setting adding the following line before calling Key.Activate:
HelperMethods.SSLEnabled=false;v1.23: Add a new method to compute the machine code + new overload of GetKey
v1.22: Fix for floating licenses in offline mode using the license server
Fix for license server (floating licenses)
v1.21: Add support for Messaging API + API error fix
- Add support for GetMessages (https://help.cryptolens.io/messaging/index)
- Fix incorrect exception messages (#22). Thanks to @sergey-oplavin.
v1.20: Add support for the license server
v1.19: Fixes to Helpers.IsOnRightMachine + support for friendly name
Update ActivateModel.java