-
Type: Bug
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
Server Development Platform
-
Fully Compatible
-
ALL
-
-
Dev Tools 2019-09-09, Dev Tools 2019-09-09, Dev Tools 2019-09-23, Dev Tools 2020-01-13, Dev Tools 2020-01-27, Dev Tools 2020-02-24
-
50
Per SPEC-1338, the shell does not serialize BSON binary subtype 2 the same way drivers do, which drivers do not recognize as valid. bsonspec.org states:
\x02 Binary (Old) - This used to be the default subtype, but was deprecated in favor of \x00. Drivers and tools should be sure to handle \x02 appropriately. The structure of the binary data (the byte* array in the binary non-terminal) must be an int32 followed by a (byte*). The int32 is the number of bytes in the repetition.
But the shell does not appear to add the four byte integer length.
- causes
-
SERVER-43946 Converting BinData of type ByteArrayDeprecated from KeyString -> BSON -> KeyString returns a different KeyString
- Closed
- is related to
-
SERVER-41919 Disallow specific types for explicit encryption
- Closed
-
SERVER-41920 Disallow BinData subtype 2 for implicit encryption
- Closed
- related to
-
SERVER-42504 Allow explicit encryption of BinData Subtype 2
- Backlog