[MONGOCRYPT-544] Implement conversion of FLE2 placeholder to FindEqualityPayloadV2 Created: 21/Feb/23  Updated: 28/Oct/23  Resolved: 08/Mar/23

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.8.0, 1.8.0-alpha0

Type: Task Priority: Unknown
Reporter: Erwin Pe Assignee: Sara Golemon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: PM-2972
Binding Changes: Not Needed

 Description   

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


 Comments   
Comment by Githook User [ 20/Mar/23 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: MONGOCRYPT-544 Implement FLE2FindEqualityPayloadV2 transform
Branch: shreyaskalyan/MONGOCRYPT-539
https://github.com/mongodb/libmongocrypt/commit/efaeb8e3858132a5caa8aea1afb143322370e8eb

Comment by Githook User [ 08/Mar/23 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: MONGOCRYPT-544 Implement FLE2FindEqualityPayloadV2 transform
Branch: master
https://github.com/mongodb/libmongocrypt/commit/efaeb8e3858132a5caa8aea1afb143322370e8eb

Comment by Sara Golemon [ 07/Mar/23 ]

https://github.com/mongodb/libmongocrypt/pull/590

Generated at Thu Feb 08 09:08:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.