Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-544

Implement conversion of FLE2 placeholder to FindEqualityPayloadV2

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.8.0, 1.8.0-alpha0
    • Affects Version/s: None
    • Component/s: None
    • None

      In mongocrypt-marking.c, the function _mongocrypt_fle2_placeholder_to_find_ciphertext() will need to be updated to support the v2 payload type.

      In particular, the following changes are needed:

      • the type of payload changes to mc_FLE2FindEqualityPayloadV2_t
      • the ECCDerivedToken must be replaced by a ServerDerivedFromDataToken
      • the derivation of the ServerDataEncryptionLevel1Token shall be removed. This token is no longer needed in the v2 payload.
      • change calls to payload init/serialize/cleanup with v2 counterparts
      • change the final serialized FLE2 subtype to MC_SUBTYPE_FLE2FindEqualityPayloadV2

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

              Created:
              Updated:
              Resolved: