Skip to content

Releases: Cryptolens/cryptolens-python

v_50: Fix fallback to registry in GetMachineCode for Windows

30 Sep 15:29
Compare
Choose a tag to compare

This update affects Windows users who are using GetMachineCode method. This update fixes the fallback code that uses the UUID obtained from the registry that is used to generate the machine code.

v_49: Add User class for user authentication

30 Aug 14:14
Compare
Choose a tag to compare

v_48: Add HasNotExpired and Fix machine code method on Windows

15 Aug 12:55
Compare
Choose a tag to compare
  1. Added a new method to check if a license has expired locally.
  2. Fixed GetMachineCode method so that it falls back on MachineGUID when WMIC does not work (Windows only).
  3. Update setup.py that could solve issues installing the library in newer versions of Python and other platforms.

#69 #71

v_47: Add missing "name" parameter in IncrementIntValue and DecrementIntValue methods

11 Jul 12:41
Compare
Choose a tag to compare

The missing name parameter was added to Data.increment_int_value_to_key and Data.decrement_int_value_to_key methods. This would allow you locate a data object based on its name instead of using the Id (object_id in Python).

v_46: Add more return fields to GetKeys method

07 May 13:06
Compare
Choose a tag to compare

The fields added include "pageCount", "total" and "returned". These are accessible via the third list item of the result.

v_45: Add GetCustomerLicenses and GetCustomerLicensesBySecret

24 Apr 07:07
bd19546
Compare
Choose a tag to compare

Adding methods to retrieve customer licenses.

Please check out the following article on how to use the second method: https://help.cryptolens.io/web-interface/customer-secret

v_44: Add "AddFeature" and "RemoveFeature" methods in Key class

19 Mar 13:32
Compare
Choose a tag to compare

This update introduces two new methods, "AddFeature" and "RemoveFeature", that allow you to change the state of the 8 built in feature flags.

v_43: Add new API methods to the Key class

19 Feb 19:41
568dac4
Compare
Choose a tag to compare

In this release, MachineLockLimit, ChangeNotes, ChangeReseller and CreateKeyFromTemplate were added to the Key class.

v_42: Add metadata property in Key.Activate

07 Feb 13:59
3df4ae2
Compare
Choose a tag to compare

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

14 Sep 15:15
226dcac
Compare
Choose a tag to compare

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.