Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Sep 2023 22:31:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273505] security/py-yubikey-manager stable/14 python-cryptography OpenSSL3 error
Message-ID:  <bug-273505-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273505

            Bug ID: 273505
           Summary: security/py-yubikey-manager stable/14
                    python-cryptography OpenSSL3 error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: egypcio@FreeBSD.org
          Reporter: dhorn2000@gmail.com
             Flags: maintainer-feedback?(egypcio@FreeBSD.org)
          Assignee: egypcio@FreeBSD.org

For ports security/py-yubikey-manager from `make install`, or from `pkg ins=
tall
py39-yubikey-manager` on FreeBSD stable/14 (currently Alpha 4), this port w=
ill
successfully install, but will error out immediately upon initial execution=
 of
`ykman` with the error message:

ImportError:
/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/_openss=
l.abi3.so:
Undefined symbol "ERR_GET_FUNC"

I'm assuming that python-cryptography doesn't like a missing export due to =
some
OpenSSL change in stable/14.

OpenSSL 3.0.10 1 Aug 2023 (Library: OpenSSL 3.0.10 1 Aug 2023)
FreeBSD freebsd14 14.0-ALPHA4 FreeBSD 14.0-ALPHA4 amd64 1400097 #0
stable/14-n265026-4c3f144478d4: Fri Sep  1 05:47:56 UTC 2023=20=20=20=20
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

Full traceback:

Traceback (most recent call last):
  File "/usr/local/bin/ykman", line 33, in <module>
    sys.exit(load_entry_point('yubikey-manager=3D=3D4.0.9', 'console_script=
s',
'ykman')())
  File "/usr/local/bin/ykman", 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/ykman/cli/__main__.py", line=
 47,
in <module>
    from ..diagnostics import get_diagnostics
  File "/usr/local/lib/python3.9/site-packages/ykman/diagnostics.py", line =
17,
in <module>
    from fido2.ctap2 import Ctap2, ClientPin
  File "/usr/local/lib/python3.9/site-packages/fido2/ctap2/__init__.py", li=
ne
38, in <module>
    from .blob import LargeBlobs  # noqa
  File "/usr/local/lib/python3.9/site-packages/fido2/ctap2/blob.py", line 3=
5,
in <module>
    from cryptography.hazmat.primitives.ciphers.aead import AESGCM
  File
"/usr/local/lib/python3.9/site-packages/cryptography/hazmat/primitives/ciph=
ers/aead.py",
line 10, in <module>
    from cryptography.hazmat.backends.openssl import aead
  File
"/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openss=
l/__init__.py",
line 6, in <module>
    from cryptography.hazmat.backends.openssl.backend import backend
  File
"/usr/local/lib/python3.9/site-packages/cryptography/hazmat/backends/openss=
l/backend.py",
line 113, in <module>
    from cryptography.hazmat.bindings.openssl import binding
  File
"/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss=
l/binding.py",
line 14, in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError:
/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/_openss=
l.abi3.so:
Undefined symbol "ERR_GET_FUNC"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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