Required: Add mingw-w64-openssl to the MinGW cross-compile toolchain
WinInspect (github.com/SemperSupra/WinInspect) now requires OpenSSL for
SSH key-based authentication. The sign_ssh_msg() function uses OpenSSL's
PEM_read_bio_PrivateKey + EVP_DigestSign for Ed25519 signing.
Build dependency
When building WinInspect with the MinGW cross-compiler, the OpenSSL
development headers and libraries for MinGW are required:
# Debian/Ubuntu-based WBAB container
RUN apt-get install -y mingw-w64-openssl
Or if the distro packages it differently:
RUN apt-get install -y gcc-mingw-w64-x86-64-win32 mingw-w64
RUN apt-get install -y libssl-dev:mingw-w64-x86-64 # or similar
Verification
After the dependency is installed, WinInspect's CMake should detect
OpenSSL automatically:
cmake -B build -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release \
-DWININSPECT_BUILD_TESTS=ON
# Look for: -- OpenSSL found: X.Y.Z
Runtime dependency
The built .exe also needs libcrypto-*.dll and libssl-*.dll at runtime.
These should be copied alongside the .exe into the Wine prefix or
container image.
Related
- WinInspect CMakeLists.txt now sets
WININSPECT_USE_OPENSSL=ON by default
- WinInspect build auto-copies OpenSSL DLLs to the output directory
Required: Add mingw-w64-openssl to the MinGW cross-compile toolchain
WinInspect (github.com/SemperSupra/WinInspect) now requires OpenSSL for
SSH key-based authentication. The
sign_ssh_msg()function uses OpenSSL'sPEM_read_bio_PrivateKey+EVP_DigestSignfor Ed25519 signing.Build dependency
When building WinInspect with the MinGW cross-compiler, the OpenSSL
development headers and libraries for MinGW are required:
Or if the distro packages it differently:
Verification
After the dependency is installed, WinInspect's CMake should detect
OpenSSL automatically:
Runtime dependency
The built .exe also needs
libcrypto-*.dllandlibssl-*.dllat runtime.These should be copied alongside the .exe into the Wine prefix or
container image.
Related
WININSPECT_USE_OPENSSL=ONby default