From nobody Sat Sep 9 15:01:11 2023 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 4RjblX10Q7z4sJlK for <python@mlmmj.nyi.freebsd.org>; Sat, 9 Sep 2023 15:01:12 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjblW4Fgbz3cLn for <python@FreeBSD.org>; Sat, 9 Sep 2023 15:01:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694271671; a=rsa-sha256; cv=none; b=Obh89Jyy3iqle6vgNELx0nj1Y1XdhIvB1h843nN8vZV4hulXfOF3oWXYp6fv3RLY1Rqdsf c6mzN+ZAyiqTheSuXiLgDWVfhb7bY8jmoDYttWH/tEQtJaaTuBu7chCeSh9a0aZf0EBh0a ZadaorBNapb/kawnwtr2cHbPoJpsL/9o7WggbR9FWw3vkUzdJRe4l65qav7Y2aOHiSJdyv Bt16aT9m+m3ZupK/MtnFTQw6Bfo0p8gtnPW7FDlaXHDbvGEAyp24ZVcfuowaR26DZThc8F mFRGVydxmSZR8k0oE/vsybbV8Qf3Uy2/gRYgTyRMqkCHc/O70Olp19oKA/DrWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694271671; 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=0AaCMK8FyWZf/9Cu2WmoSzK1Q4si9uzaGdzmP+FAcsM=; b=lRvKPbpmvwpMfbz5I+1bXPXiZBlkvBTn86Hbc65ElOtOh74xJWyzjMV8gY/POIjeV4d2+5 FyXnuSqIVJt+uxqb8RcOvwWy/+zhvIzUWZCuG3dyV3mw2DzVC5DJB/gCbiVrIJF4ctPf2J dGZ7NEoz7TM/ogXwOwq/gv7PD538F4W3n9Gt9sujADJGaSAjEiMkykbf7qJmQ+9NfeFSEm jXTbENRxKH2agkBXwJRQtVP1eXpNuHievotNH0g8oLEZdqs7Czl9oQH1rVi6rKn5d2feul o044VOL/1dpgIRPdEqD1MrlG6E5JTOKLG1u7XfIrQve7jQWTZjD0myOV1Upnuw== 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 4RjblW3MSGzTnZ for <python@FreeBSD.org>; Sat, 9 Sep 2023 15:01:11 +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 389F1B8L046884 for <python@FreeBSD.org>; Sat, 9 Sep 2023 15:01:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 389F1BFX046883 for python@FreeBSD.org; Sat, 9 Sep 2023 15:01:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 273656] security/py-certbot: needs export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1 in ${LOCALBASE}/etc/periodic/weekly/500.certbot-3.9 on systems with OpenSSL 3 Date: Sat, 09 Sep 2023 15:01:11 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: <bug-273656-21822-hMy7a2jfL5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-273656-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-273656-21822@https.bugs.freebsd.org/bugzilla/> X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: <mailto:python+help@freebsd.org> List-Post: <mailto:python@freebsd.org> List-Subscribe: <mailto:python+subscribe@freebsd.org> List-Unsubscribe: <mailto:python+unsubscribe@freebsd.org> Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody) <python@FreeBSD.org> for maintainer-feedback: Bug 273656: security/py-certbot: needs export CRYPTOGRAPHY_OPENSSL_NO_LEGAC= Y=3D1 in ${LOCALBASE}/etc/periodic/weekly/500.certbot-3.9 on systems with OpenSSL= 3 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273656 --- Description --- System is stable/14 as of today. OpenSSL comes from base. Installed version= is py39-certbot-2.6.0,1 built from ports. # certbot renew --standalone Traceback (most recent call last): File "/usr/local/bin/certbot", line 33, in <module> sys.exit(load_entry_point('certbot=3D=3D2.6.0', 'console_scripts', 'certbot')()) File "/usr/local/bin/certbot", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load module =3D import_module(match.group('module')) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_remo= ved File "/usr/local/lib/python3.9/site-packages/certbot/main.py", line 6, in <module> from certbot._internal import main as internal_main File "/usr/local/lib/python3.9/site-packages/certbot/_internal/main.py", = line 21, in <module> import josepy as jose File "/usr/local/lib/python3.9/site-packages/josepy/__init__.py", line 40= , in <module> from josepy.json_util import ( File "/usr/local/lib/python3.9/site-packages/josepy/json_util.py", line 1= 4, in <module> from OpenSSL import crypto File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8= , in <module> from OpenSSL import SSL, crypto File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 9, in <module> from OpenSSL._util import ( File "/usr/local/lib/python3.9/site-packages/OpenSSL/_util.py", line 6, in <module> from cryptography.hazmat.bindings.openssl.binding import Binding File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/bi nding.py", line 167, in <module> Binding.init_static_locks() File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/bi nding.py", line 134, in init_static_locks cls._ensure_ffi_initialized() File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/bi nding.py", line 123, in _ensure_ffi_initialized _legacy_provider_error(cls._legacy_provider_loaded) File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/bi nding.py", line 43, in _legacy_provider_error raise RuntimeError( RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorith= ms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you = did not expect this error, you have likely made a mistake with your OpenSSL configuration.