Releases: Cryptolens/cryptolens-python
v_43: Add new API methods to the Key class
In this release, MachineLockLimit, ChangeNotes, ChangeReseller and CreateKeyFromTemplate were added to the Key class.
v_42: Add metadata property in Key.Activate
In this release, we added support for the metadata field that can be returned by Key.Activate. When metadata=true in the Key.Activate call, it will return an array of three elements instead of two, where the third element is the value of the additional metadata for a specific license.
v_41: Add an error if period exceeds the limit
This release adds a new error message to Key.activate that will be thrown if the period exceeds the permitted limit in Python. The problem is described in https://github.com/Cryptolens/cryptolens-python/tree/master#the-expiration-date-cannot-be-converted-to-a-datetime-object-please-try-setting-the-period-to-a-lower-value, but in essence, the issue is that the timestamp representation of the expiration date causes an overflow in Python, and thus an error is thrown.
v_40: Improvements to the signature verification method
Use constant time comparison when available (#59) * Use constant time comparison when available * Update setup.py
v_39: Add GetKeys method and fix cmd window from showing up when computing machine code
Minor fix and update version number
v_38: Add Decrement Int Value to Key
Add DecrementIntValueToKey (#56) * Update methods.py * Update setup.py
v_37: Fix an issue in HasFeature method
In this update we fixed an issue that could occur if a license did not have the data object required for feature templates or if the content of it was empty.
v_36: Support for proxy servers
In this release, we have added support for proxy servers defined on OS level. To enable it, you can add the following command before calling any other API method such as Key.activate.
HelperMethods.proxy_experimental = Truev_35: Update return value in GetMachineCode upon error
This updates changes the behaviour of Helpers.GetMachineCode when the library is unable to retrieve the UUID. If this occurs, None will be returned.
v_34: Update UUID source for Windows
When the machine code, we rely on the UUID that is provided by the OS. On Windows, we used to use wmic to obtain the UUID. As pointed out by @pmnforce in #50, it will be deprecated in Windows 11. We are thus switching to a different method to compute it, i.e., as follows:
cmd /c powershell.exe -Command "(Get-CimInstance -Class Win32_ComputerSystemProduct).UUID"
Based on our tests, this will not affect the value of the machine code, i.e., this update is backwards compatible.