Non matching binData values stripped during auto encryption

XMLWordPrintableJSON

    • 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.

            Assignee:
            Kevin Albertson
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: