Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
artemlos authored Sep 14, 2023
1 parent 7569ea7 commit 226dcac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ The Cryptolens Python SDK will verify that the license information has not chang
### Possible errors

#### The expiration date cannot be converted to a datetime object. Please try setting the period to a lower value.
This error occurs when the timestamp date received from the server exceeds the limit in Python. This typically occurs when the **Period** is set to a very large value, to prevent the license from expiring.
This error occurs when the timestamp for the expiration date received from the server exceeds the limit in Python. This typically occurs when the **Period** is set to a excessively large value, often to prevent the license from expiring.

Although Cryptolens asks for a period (default 30) when you create a new license, this does not mark the license as time-limited. You can read more about it [here](https://help.cryptolens.io/web-interface/keys-that-dont-expire). In short, a license is treated as time-limited by either enforcing this in the Python code (e.g. if F1=true, the license is time-limited and so we check the expiration date against the current date, to see that it is still valid) or on the server side. On the server side, you can, for example, set up a feature that will automatically block expired licenses. You can read more about it [here](https://help.cryptolens.io/faq/index#blocking-expired-licenses).
While Cryptolens requires a period (defaulted to 30) during the creation of a new license, this does not mark the license as time-limited. You can learn more about it [here](https://help.cryptolens.io/web-interface/keys-that-dont-expire). In essence, a license is treated as time-limited by either enforcing this in the Python code (e.g. if F1=true, the license is time-limited and so we check the expiration date against the current date, to see that it is still valid) or on the server side. On the server side, you can, for example, set up a feature that will automatically block expired licenses. You can read more about it [here](https://help.cryptolens.io/faq/index#blocking-expired-licenses).

In sum, to solve this issue, you can either follow one of the methods described above or set the period to a smaller value.

0 comments on commit 226dcac

Please sign in to comment.