Closed vehemont closed 11 months ago
I think this can be worked around by editing mgmt_api.py
line 787 of the library. I am not familiar with the inner workings of this library or the SSL module to know if this is an appropriate change.
To the following:
context = ssl.SSLContext()
self.sock = context.wrap_socket(self.sock)
Hi @vehemont, Thanks for notifying us, we'll look into it, and update you. Regards, Eden
Hi @vehemont , We've added a fix available in the new released version v1.8.0 Thanks, Eden
Hi,
When I attempt to use the library on Python 3.12 I receive the following error:
I believe this is due to
ssl.wrap_socket
being deprecated in favor ofssl.SSLContext.wrap_socket
as stated in the What's New for Python 3.12: https://docs.python.org/3.12/whatsnew/3.12.html#ssl