[New-bugs-announce] [issue28022] SSL releated deprecation for 3.6

Christian Heimes report at bugs.python.org
Thu Sep 8 11:19:02 EDT 2016

New submission from Christian Heimes:

I like to deprecate some SSL related parts of Python:

- ssl.wrap_socket() is a horrible abomination. People should use SSLContext.wrap_socket() instead
- all certfile/cert_file, keyfile/key_file and check_hostname arguments. Use context / ssl_context instead.
- make ftplib, imaplib, nntplib, pop3lib, smtplib etc. validate certs by default.

assignee: christian.heimes
components: Documentation, Library (Lib)
messages: 275043
nosy: alex, christian.heimes, dstufft, giampaolo.rodola, janssen
priority: high
severity: normal
stage: needs patch
status: open
title: SSL releated deprecation for 3.6
type: security
versions: Python 3.6, Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list