-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
libmongocrypt strips away non-matching binData for auto encryption (i.e. not a marking|ciphertext during encryption|decryption). So code like the following:
db.test.insert({auto_encrypted: 123, explicitly_encrypted: ce.encrypt(123, opts) })
... will silently strip the "explicitly_encrypted" field in the insert command.