Closed barsnick closed 4 months ago
The openssl 1.1 compat usually causes many issues, including sometimes runtime issues, so I think we should bring up if we want to still support this lib that has been deprecated for almost 1 year.
I just wanted to point it out.
That's fine by me, if we still manage to support enough platforms. Specifically, Ubuntu 20 will need to be dropped, unless there's a PPA for that somewhere. Debian 11 obviously doesn't work anymore either. (I can open a bug on everest-utils for that.)
This line: https://github.com/EVerest/libevse-security/blob/4330ce2e28e25535dd01558edb2331891c146769/CMakeLists.txt#L46 should probably state version 3:
find_package(OpenSSL 3 REQUIRED)
Closes with: https://github.com/EVerest/libevse-security/pull/76
Describe the bug
libevse-security no longer builds with the Docker build script in everest-utils, which uses Debian 11 with OpenSSL 1.x.
In commit https://github.com/EVerest/libevse-security/commit/acc12fe5353d8090fc8cb0a84564b52ad7301e51, a dependency to OpenSSL 3 was reintroduced, through the use of (among others)
X509_add_cert()
.To Reproduce
In everest-utils:
Anything else?
See also the recent issues https://github.com/EVerest/everest-utils/issues/112 and https://github.com/EVerest/libevse-security/issues/31
So I assume OpenSSL 1.x compatibility is still desired.