Skip to content

Commit 7569ea7

Browse files
authored
Update README.md
1 parent 38318e5 commit 7569ea7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,3 +230,12 @@ HelperMethods.verify_SSL = False
230230
```
231231

232232
The Cryptolens Python SDK will verify that the license information has not changed since it left the server using your RSA Public Key. However, we recommend to keep this value unchanged.
233+
234+
### Possible errors
235+
236+
#### The expiration date cannot be converted to a datetime object. Please try setting the period to a lower value.
237+
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.
238+
239+
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).
240+
241+
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 commit comments

Comments
 (0)