Files
git.stella-ops.org/src/__Tests/native/openssl-1.1
2025-12-26 01:48:24 +02:00
..
2025-12-26 01:48:24 +02:00
2025-12-26 01:48:24 +02:00

OpenSSL 1.1 Test Shim

These binaries (libcrypto.so.1.1 and libssl.so.1.1) are bundled for Mongo2Go-based integration tests so they can run on hosts that only provide OpenSSL 3.

Source package: https://launchpad.net/ubuntu/+archive/primary/+files/libssl1.1_1.1.1f-1ubuntu2_amd64.deb

Licensing follows the OpenSSL and SSLeay licenses that accompany the upstream package.

Usage

  1. Point LD_LIBRARY_PATH at this directory before running any test suite that spins up Mongo2Go:

    export LD_LIBRARY_PATH="$(git rev-parse --show-toplevel)/tests/native/openssl-1.1/linux-x64:${LD_LIBRARY_PATH:-}"
    

    The helper in tests/shared/OpenSslLegacyShim.cs will append the path automatically when the tests run, but exporting the variable up-front avoids surprises when using custom harnesses (e.g., dotnet test filters).

  2. Example one-shot command:

    LD_LIBRARY_PATH="$(pwd)/tests/native/openssl-1.1/linux-x64" \
      dotnet test src/Excititor/__Tests/StellaOps.Excititor.Worker.Tests/StellaOps.Excititor.Worker.Tests.csproj --nologo
    
  3. CI runners should add the same directory to their environment or place the binaries on a globally accessible library path.