Reproducible through e.g.
import { MongoClient } from 'mongodb'; const client = await MongoClient.connect('mongodb://localhost/', { autoEncryption: { bypassQueryAnalysis: true, kmsProviders: { local: { key: 'A'.repeat(128) } } } }); client.db('test').collection('test').createIndex({ a: 1 });
in the Node.js driver, but almost certainly breaking regardless of driver. The commands which result in a version check against mongocryptd are being run when bypassQueryAnalysis: true is set, but in that case no csfle library or mongocryptd is available and the drivers do not expect to enter a MONGOCRYPT_CTX_NEED_MONGO_MARKINGS state.
- is depended on by
-
MONGOSH-1245 Re-enable KeyVault._init() after libmongocrypt bug is fixed
- Closed
- is related to
-
MONGOCRYPT-429 Do not bypass create, collMod, or createIndexes
- Closed