]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-72507: Document that imaplib does not verify TLS certificates by default...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 2 Jul 2026 07:25:58 +0000 (09:25 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Jul 2026 07:25:58 +0000 (07:25 +0000)
commit69fcc3f5bf10018ec8fedd98adf809062bb18bd4
treea08c9803e0a063745e8e7803e9eea4e7fc9b9fff
parentcbb253517c77dd809b71d4061dd3c603cdc04c80
[3.13] gh-72507: Document that imaplib does not verify TLS certificates by default (GH-152778) (GH-152864)

IMAP4_SSL() and IMAP4.starttls() do not verify the server certificate or
hostname unless a suitable ssl_context is passed.
(cherry picked from commit f3bf8abb8c0f4cb20bed3dc7d98eca4a2d668709)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Doc/library/imaplib.rst