[New-bugs-announce] [issue35234] ssl module falls over with internationalized domain names

Michael Casadevall report at bugs.python.org
Tue Nov 13 11:06:02 EST 2018


New submission from Michael Casadevall <michael at casadevall.pro>:

Test case attached.

In Python 3.6, ssl tries to validate the hostname on its own, but fails to convert the SSL certificates hostname from IDNA back to UTF-8 and mismatches. Python 3.7 and master are unaffected since this got fixed by accident when validation was changed to depend on OpenSSL alone and not do it in python though the underlying match_hostname function is still bugged.

----------
assignee: christian.heimes
components: SSL
files: ssl_test.py
messages: 329852
nosy: christian.heimes, mcasadevall
priority: normal
severity: normal
status: open
title: ssl module falls over with internationalized domain names
type: behavior
versions: Python 3.6
Added file: https://bugs.python.org/file47932/ssl_test.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35234>
_______________________________________


More information about the New-bugs-announce mailing list