Closed ghost closed 1 year ago
AttributeError: /lib/x86_64-linux-gnu/libcrypto.so.3: undefined symbol: EVP_PKEY_size. Did you mean: 'EVP_PKEY_free'?
OpenSSL 3 replaced that with EVP_PKEY_get_size
and only provides a define for EVP_PKEY_size
. So that probably doesn't work with that function wrapping oscrpyto does. I guess you have to increase the version for that packet, try updating requirements.txt
with oscrypto==1.3.0
.
i solved after updating requirements.txt with oscrypto==1.3.0,asn1crypto==1.5.1. thank .you:)
I try to install strongMan but have some problems. please help:) Thanks
livechina@livechina:~$ cd strongMan livechina@livechina:~/strongMan$ sudo ./setup.py install Start strongMan installation
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/livechina/strongMan/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/django/core/management/init.py", line 401, in execute_from_command_line
utility.execute()
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/django/core/management/init.py", line 377, in execute
django.setup()
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/django/apps/registry.py", line 114, in populate
app_config.import_models()
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/django/apps/config.py", line 211, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/livechina/strongMan/strongMan/apps/connections/models/init.py", line 1, in
from .connections import
File "/home/livechina/strongMan/strongMan/apps/connections/models/connections.py", line 10, in
from strongMan.apps.connections.models.common import State
File "/home/livechina/strongMan/strongMan/apps/connections/models/common.py", line 3, in
from strongMan.apps.certificates.models import MessageObj
File "/home/livechina/strongMan/strongMan/apps/certificates/models/init.py", line 1, in
from .certificates import
File "/home/livechina/strongMan/strongMan/apps/certificates/models/certificates.py", line 8, in
from ..container_reader import X509Reader
File "/home/livechina/strongMan/strongMan/apps/certificates/container_reader.py", line 7, in
from oscrypto import keys as k
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/oscrypto/keys.py", line 5, in
from ._asymmetric import parse_certificate, parse_private, parse_public
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/oscrypto/_asymmetric.py", line 27, in
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/oscrypto/kdf.py", line 9, in
from .util import rand_bytes
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/oscrypto/util.py", line 14, in
from ._openssl.util import rand_bytes
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/oscrypto/_openssl/util.py", line 6, in
from ._libcrypto import libcrypto, libcrypto_version_info, handle_openssl_error
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/oscrypto/_openssl/_libcrypto.py", line 15, in
from ._libcrypto_ctypes import (
File "/home/livechina/strongMan/env/lib/python3.10/site-packages/oscrypto/_openssl/_libcrypto_ctypes.py", line 688, in
raise FFIEngineError('Error initializing ctypes')
oscrypto._ffi.FFIEngineError: Error initializing ctypes
Command '['/home/livechina/strongMan/env/bin/python', '/home/livechina/strongMan/manage.py', 'makemigrations', 'certificates', '--settings=strongMan.settings.local']' returned non-zero exit status 1.