-
-
Notifications
You must be signed in to change notification settings - Fork 512
Open
Description
I have the following issue:
In the log smarthack-psk.log I get
module 'ssl' has no attribute 'wrap_socket'
new client on port 443 from 10.42.42.33:60310
module 'ssl' has no attribute 'wrap_socket'
new client on port 443 from 10.42.42.33:60312
module 'ssl' has no attribute 'wrap_socket'
new client on port 443 from 10.42.42.33:60324
module 'ssl' has no attribute 'wrap_socket'
This seems to be related to a change in python:
eventlet/eventlet#795
It is in the file psk-frontend.
The old code:
ssl_sock = sslpsk.wrap_socket(s1,
server_side = True,
ssl_version=ssl.PROTOCOL_TLSv1_2,
ciphers='PSK-AES128-CBC-SHA256',
psk=lambda identity: gen_psk(identity, self.hint),
hint=self.hint)
But I don't know how to change it to the new format.
Metadata
Metadata
Assignees
Labels
No labels