PHPLIB-891 introduced the CRYPT_SHARED_LIB_PATH env var in 265810a. CRYPT_SHARED_LIB_PATH is only injected into the autoEncryption.extraOptions.cryptSharedLibPath driver option for clients created by ClientSideEncryptionSpecTest (i.e. CSFLE prose tests and legacy spec tests). It is therefore never used for unified CSFLE tests introduced in 5d48a1e for PHPLIB-820.
On a related note, PHPLIB-911 introduced SKIP_CRYPT_SHARED in 0fe1a0f. Looking at run-tests.sh in that commit, it appears that SKIP_CRYPT_SHARED is never actually consulted when deciding to export CRYPT_SHARED_LIB_PATH.
This issue appears to only affect library versions going back to 1.13.1, which is when SKIP_CRYPT_SHARED was introduced. Unified CSFLE spec tests did not appear in the test suite until 1.15.0.
- is related to
-
PHPLIB-891 Add crypt_shared to CI matrix as an alternative to mongocryptd
- Closed
-
PHPLIB-820 Update unified test runner for key management API spec tests
- Closed
-
PHPLIB-911 Test with consistent versions of crypt_shared and server
- Closed