Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-87946

Don't attach encryptionInformation to compact unless there are range fields

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Security
    • Fully Compatible
    • ALL
    • Security 2024-03-18
    • 61

      When the encrypted legacy shell sends a compactStructuredEncryptionData command through the `compact` call, it now appends an `encryptionInformation` field to the command regardless of whether range (v2) fields are present in the schema. Since `encryptionInformation` is only really required if there are range v2 fields, it should not be included if there are none.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: