Skip to content

Commit cacbf64

Browse files
authored
MONGOCRYPT-561 enable QEv2 protocol by default (#621)
* default to using FLEv2 (aka QEv2) * replace TESTER_MONGOCRYPT_WITH_CRYPT_V2 with V1 Tests default to using V2, and must opt in to using V1 * update _test_encrypt_fle2_encryption_placeholder for new default * enable QEv1 in QEv1 tests * fix incorrect payload in encrypted-payload.json Old payload did not include 'e' field. * remove mongocrypt_setopt_fle2v2 from Java bindings Calling is no longer necessary. QEv2 is now the default. * remove mongocrypt_setopt_fle2v2 from Node bindings Calling is no longer necessary. QEv2 is now the default. * add fle2-find-range-explicit-v2/int32 test data Intended for use in the Java and Python bindings tests. * update test_range_query_int32 in Python bindings * update testExplicitEncryptionDecryption in Java bindings * remove mongocrypt_setopt_fle2v2 from public API * remove mongocrypt_setopt_fle2v2 from C# bindings
1 parent bad374f commit cacbf64

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/mongocrypt.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,6 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info)
479479
}
480480

481481
mongocrypt_setopt_use_need_kms_credentials_state(_mongo_crypt.get());
482-
mongocrypt_setopt_fle2v2(_mongo_crypt.get(), true);
483482

484483
// Initialize after all options are set.
485484
if (!mongocrypt_init(_mongo_crypt.get())) {

0 commit comments

Comments
 (0)