Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Sep 2023 16:52:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 273501] security/py-certbot broken after update of py-cryptography to 41.0.3
Message-ID:  <bug-273501-21822-eJ6h6ccUee@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273501-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273501-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 273501: security/py-certbot broken after update of py-cryptography to
41.0.3
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273501



--- Description ---
py-certbot stopped working after py-cryptography was upgraded to 41.0.3:

Renewing Let's Encrypt certificates:
Traceback (most recent call last):
  File "/usr/local/bin/certbot-3.9", line 33, in <module>
    sys.exit(load_entry_point('certbot=3D=3D2.6.0', 'console_scripts',
'certbot')())
  File "/usr/local/bin/certbot-3.9", 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 crypto, SSL
  File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py", line 327=
9,
in <module>
    _lib.OpenSSL_add_all_algorithms()
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

Errors were reported when renewing Let's Encrypt certificate(s).


Will probably work just fine if dependency was py-cryptography-legacy inste=
ad.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273501-21822-eJ6h6ccUee>