This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ssl.wrap_ssl will fail on do_handshake if default parameters are supplied by user
Type: crash Stage: resolved
Components: SSL Versions: Python 3.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: christian.heimes Nosy List: botter, christian.heimes
Priority: normal Keywords:

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:46adminsetgithub: 74474
2017-05-06 00:43:24bottersetstatus: open -> closed

messages: + msg293147
stage: resolved
2017-05-05 23:38:45bottercreate