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

Investigate if trimFactor should always be required for range v2 placeholders

    • Server Security
    • Minor Change
    • v8.0
    • Security 2024-07-08

      In libmongocrypt, mc_FLE2RangeFindSpecEdgesInfo_parse asserts that the trimFactor must be present in the encryption placeholder if the range v2 feature is enabled. This causes an issue because query analysis only sets this field if the trimFactor is explicitly provided in the encrypted fields schema.  However, the work for SERVER-91078 might require the query analysis to always have include a trimFactor specifying the default value to use if the user does not provide an explicit value in the schema. Consider whether the server should always just set the trimFactor for "range" query types.

            Assignee:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: