New submission from Michael Casadevall <mich...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue35234>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to