]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] 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:28:02 +0000 (09:28 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Jul 2026 07:28:02 +0000 (07:28 +0000)
commit0ab38f48089896dad6a5ca5009883f40da63cb38
treee509e693d5946d73ba6c8cd3e6357c2a7f52915d
parent58d92ac773a30cf4670e9931d67f04ef0d06d50e
[3.15] gh-72507: Document that imaplib does not verify TLS certificates by default (GH-152778) (GH-152862)

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