fido-device-onboard / client-sdk-fidoiot

This a C-based implementation of the Device component defined in FIDO Device Onboard (FDO) Specification.
Apache License 2.0
20 stars 32 forks source link

[BUG] Building the client-sdk binary with openssl 1.1.1 environment and executing it on openssl 3 environment will fail. #189

Open tajnisha opened 2 years ago

tajnisha commented 2 years ago

Describe the bug Building the client-sdk binary with openssl 1.1.1 environment and executing it on openssl 3 environment will fail..

To Reproduce Steps to reproduce the behavior:

  1. Build the client-sdk in openssl 1.1.1q environment.
  2. Copy and execute the binary in openssl 3 environment.

Expected behavior Binary executes fine.

Screenshots /linux-client: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory.

Test Environment Openssl 3 installed linux OS.

Additional context Add any other context about the problem here.

ben-krieger commented 1 month ago

OpenSSL 3.0 is not backwards compatible with OpenSSL 1.1, so this is expected behavior.

As for the shared library loading error, you could relink the executable and pray that all headers used weren't changed between major versions. I'm not sure how likely that would be to not segfault.