From nobody Tue Oct 06 07:45:04 2026 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hzSw067svz6cVqb for ; Tue, 06 Oct 2026 07:45:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hzSw05fLCz4FHg for ; Tue, 06 Oct 2026 07:45:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791272704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4Npr4PGpS4OtVibZQ8A8MqkuZTT+BGta/1P7QQRYrcc=; b=ednOmgUbESIfO82NKt0Z++fHo61g1X9UX9h+zNGVW/G0SM1/zvk+1xvQN2C+aUzQ8VIo3i 5BhRxKtRBEVY5IfIE8cW3TpyxMdNXmWLHQIPadzRHqQcOdqbo+bIXIj2YYIDN7hqnW/H+1 MhtFuTLR1gDfiVaO7ptXU7YmCbdQ9mE7qrmJcQjOehxqoDyIa74CUyYLAw+/8m5s2tt8fj FozMY3xirDqrZ8HYVMEWNSAI9us6EDsDXJ/mnmQz9uyzvK8XVr7SVKkGKM9qvTOUfM9Mxe A2X6MB52atn2IGxYTM5fkJdmSkAwemmP9YDhksD+Eb3mNWloBcqqiqfD4dkbGA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791272704; b=rnM1D4/Roobx9tzbIvRnQyerbmkhEAyvyujHTRw3ZfgbVoqiIWKP/azWy5cQijKDUviRGZ Z2+kVqfoTpqT9NprxDQ75Kl2iO38WPNG1MzsJ9su5/bE4GmGC8FvbTaEs602hYqrMsAo4a GVqOfZMCD5BnKwBvspHv/fM66NZPSiv9dWA8Bw6kjB2qeTaqtKYF+VqexjzO2/BSKzPKgs 4TYqMdiUHaYXWQPkac0y56V700UQkvDNR0rwpyCLHtiESxNPVO6tGaa9haLlxhRPp0pPoi 3Zc7AwSjBW0xmDdFdr27suy5x1FSDGcH0+2NPIqn+ObQEoAHvu7di/tuN/ntkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791272704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4Npr4PGpS4OtVibZQ8A8MqkuZTT+BGta/1P7QQRYrcc=; b=YCnjXjTYAXoj9Z+Mp1OMqZM52IPOh2cc4O6rQS6QW4EQKqo4JtaRtkELP6c2Qo2ZL1QVl+ goXhVy8VmGcliWbN6ANKXkYCnAM/Rgg+hwiKzoP2xoFWjsie/7IZVZB+PneiJDk+A+TnMR 2g5THCEcgPqIdb+EUmLYuyravlRYU5PvO2jLG6TEEy3kvxTtpj6wK7gJB14EVwkn+z12n2 6khGGL61eePQJD77J8rhunI+CoKpLwbzjGyh1t7h5P6pb54/JXBHAZbF0aB3l4+fcC/7ks QRPCI9C+DbIu7vxtuWkL27XsjsukkXE9HN1sqn3D6Rd+z+14RrtSA3oEIU5bOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4hzSw04jXqzxX3 for ; Tue, 06 Oct 2026 07:45:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 6967j42Q024863 for ; Tue, 6 Oct 2026 07:45:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6967j4hO024862 for python@FreeBSD.org; Tue, 6 Oct 2026 07:45:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 297639] security/py-pyopenssl: upgrade to 26.2.0,1 broke TLS listener Date: Tue, 06 Oct 2026 07:45:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vladimir.bychik.dev@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D297639 Vladimir Bychik changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |python@FreeBSD.org, | |vladimir.bychik.dev@gmail.c | |om --- Comment #1 from Vladimir Bychik --- This is not a pyOpenSSL bug. pyOpenSSL 26.2.0 made it an error to call muta= ting methods on an SSL.Context after it has been used to create a Connection (deprecated with a warning since 25.1). Twisted 25.5.0 does exactly that in twisted/protocols/tls.py (_setAcceptableProtocols() on connection.get_conte= xt() for IProtocolNegotiationFactory wrapped factories), so every TLS handshake = on an ALPN-capable listener (e.g. Synapse's 8448) raises ValueError and the connection is dropped, hence the "unexpected eof". Fixed upstream in Twisted 26.4.0 (https://github.com/twisted/twisted/issues/12500), which also fixes CVE-2026-42304. devel/py-twisted is still at 25.5.0, so the proper fix is updating devel/py-twisted to >=3D 26.4.0; I've filed bug 299174 for that. Until then, either keep security/py-pyopenssl < 26.2.0, or locally patch tl= s.py to catch the ValueError around _setAcceptableProtocols() (this disables ALP= N, falling back to HTTP/1.1). --=20 You are receiving this mail because: You are on the CC list for the bug.=