Skip to content

cryptography 3.4.8 tests fails with openssl 3.0 #7039

@ncopa

Description

@ncopa

I am working on upgrade openssl to 3.0 for Alpine Linux and bumped into this issue, which currently blocks the openssl upgrade:

writing top-level names to cryptography_vectors.egg-info/top_level.txt
reading manifest file 'cryptography_vectors.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'cryptography_vectors.egg-info/SOURCES.txt'
ncopa-edge-x86_64:~/aports/community/py3-cryptography (openssl3)$ abuild check
ImportError while loading conftest '/home/ncopa/aports/community/py3-cryptography/src/cryptography-3.4.8/tests/conftest.py'.
tests/conftest.py:8: in <module>
    from cryptography.hazmat.backends.openssl import backend as openssl_backend
build/lib.linux-x86_64-3.10/cryptography/hazmat/backends/openssl/__init__.py:6: in <module>
    from cryptography.hazmat.backends.openssl.backend import backend
build/lib.linux-x86_64-3.10/cryptography/hazmat/backends/openssl/backend.py:113: in <module>
    from cryptography.hazmat.bindings.openssl import binding
build/lib.linux-x86_64-3.10/cryptography/hazmat/bindings/openssl/binding.py:14: in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
E   ImportError: Error relocating /home/ncopa/aports/community/py3-cryptography/src/cryptography-3.4.8/build/lib.linux-x86_64-3.10/cryptography/hazmat/bindings/_openssl.abi3.so: FIPS_mode_set: symbol not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions