-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: pymongocrypt
-
None
pymongocrypt's test suite mocks mongocryptd and some tests use keyId in the form:
"encrypt": { "keyId": { "$binary": { "base64": "AAAAAAAAAAAAAAAAAAAAAA==", "subType": "04" } }, "type": "string", "algorithm": "AEAD_AES_CBC_HMAC_SHA512-Random" }
This is malformed. The correct format is:
"encrypt": { "keyId": [ { "$binary": { "base64": "AAAAAAAAAAAAAAAAAAAAAA==", "subType": "04" } } ], "bsonType": "string", "algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random" }
- is depended on by
-
PYTHON-3275 [pymongocrypt] FLE 1.0 shared library
- Closed