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.

Author christian.heimes
Recipients Arfrever, christian.heimes, dstufft, georg.brandl, giampaolo.rodola, janssen, larry, pitrou
Date 2013-11-28.17:25:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385659538.64.0.880832336626.issue19509@psf.upfronthosting.co.za>
In-reply-to
Content
The patches in the dependency tickets are using SNI. The problem is, a non-None server_hostname argument raises an error when OpenSSL doesn't support the feature.

Here is a demo patch for my idea. It makes it very easy to add hostname matching to existing code. All it takes is the "server_hostname" argument to wrap_socket() and a new property "check_hostname" for the SSLContext object. The rest is done in do_handshake().
History
Date User Action Args
2013-11-28 17:25:38christian.heimessetrecipients: + christian.heimes, georg.brandl, janssen, pitrou, larry, giampaolo.rodola, Arfrever, dstufft
2013-11-28 17:25:38christian.heimessetmessageid: <1385659538.64.0.880832336626.issue19509@psf.upfronthosting.co.za>
2013-11-28 17:25:38christian.heimeslinkissue19509 messages
2013-11-28 17:25:38christian.heimescreate