Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0.0] buils fails with Python >= 3.12 #31

Open
tuxmaster5000 opened this issue May 6, 2024 · 0 comments
Open

[1.0.0] buils fails with Python >= 3.12 #31

tuxmaster5000 opened this issue May 6, 2024 · 0 comments

Comments

@tuxmaster5000
Copy link

======================================================================
ERROR: testClient (test_sslpsk.SSLPSKTest.testClient)

Traceback (most recent call last):
File "/builddir/build/BUILD/sslpsk-1.0.0/sslpsk/test/test_sslpsk.py", line 80, in testClient
self.client_psk_sock = sslpsk.wrap_socket(self.client_socket, psk=self.psk, ciphers='PSK-AES256-CBC-SHA',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/sslpsk-1.0.0/sslpsk/sslpsk.py", line 99, in wrap_socket
sock = ssl.wrap_socket(*args, **kwargs)
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'


Ran 1 test in 0.012s

FAILED (errors=1)
sock = ssl.wrap_socket(*args, **kwargs)
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'
testClient (sslpsk.test.test_sslpsk.SSLPSKTest.testClient) ... Exception in thread Thread-2 (accept):
Traceback (most recent call last):
File "/usr/lib64/python3.12/threading.py", line 1073, in _bootstrap_inner
ERROR

======================================================================
ERROR: testClient (sslpsk.test.test_sslpsk.SSLPSKTest.testClient)

Traceback (most recent call last):
File "/builddir/build/BUILD/sslpsk-1.0.0/sslpsk/test/test_sslpsk.py", line 80, in testClient
self.client_psk_sock = sslpsk.wrap_socket(self.client_socket, psk=self.psk, ciphers='PSK-AES256-CBC-SHA',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/sslpsk-1.0.0/sslpsk/sslpsk.py", line 99, in wrap_socket
sock = ssl.wrap_socket(*args, **kwargs)
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant