[issue31872] SSL BIO is broken for internationalized domains

2017-11-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: Duplicate of #28414 Nathaniel thanks for Pull Request! -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> SSL match_hostname fails for internationalized domain names ___ Python t

[issue31872] SSL BIO is broken for internationalized domains

2017-11-01 Thread Nathaniel Smith
Nathaniel Smith added the comment: I believe https://github.com/python/cpython/pull/3010 is the fix you're looking for. -- nosy: +njs ___ Python tracker ___ __

[issue31872] SSL BIO is broken for internationalized domains

2017-10-27 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue31872] SSL BIO is broken for internationalized domains

2017-10-26 Thread Andrew Svetlov
Change by Andrew Svetlov : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue31872] SSL BIO is broken for internationalized domains

2017-10-26 Thread Andrew Svetlov
New submission from Andrew Svetlov : `SSLContext.wrap_bio` creates a new `SSLObject` instance with passed `server_hostname`. The name becomes IDNA-decoded: `'xn--2qq421aovb6v1e3pu.xn--j6w193g'` is converted to `'雜草工作室.香港'` by `SSLObject` constructor. Than on SSL handshake `ssl.match_hostname()