Issue 30288: ssl.wrap_ssl will fail on do_handshake if default parameters are supplied by user (original) (raw)

Issue30288

Created on 2017-05-05 23:38 by botter, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg293146 - (view) Author: DenSA-Inc (botter) Date: 2017-05-05 23:38
After a big problem with the newest ejabberd-version and sleekxmpp I located the problem in ssl.wrap_socket. When called with no parameters the later do_handshake (method of ssl.SSLSocket) fails with an exception. When called with keyword-parameters which match the default values (except for do_handshake_on_connect), do_handshake will fail when called after that. Once I have time I will edit this post to add the required information here, but for now I refer to the issue filed on github: https://github.com/fritzy/SleekXMPP/issues/452 The important information is in comments 2 and 3.
msg293147 - (view) Author: DenSA-Inc (botter) Date: 2017-05-06 00:43
I just realised that the server stopped supporting TLS-v1.0 and the code still tried to establish a TLS-v1.0-connection. Yet the server responded with TLS-v1.2. So no bug here.
History
Date User Action Args
2022-04-11 14:58:46 admin set github: 74474
2017-05-06 00:43:24 botter set status: open -> closedmessages: + stage: resolved
2017-05-05 23:38:45 botter create