[MONGOCRYPT-527] Add parse & serialization of FLE2InsertUpdatePayloadV2 Created: 03/Feb/23  Updated: 28/Oct/23  Resolved: 16/Feb/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: Shreyas Kalyan
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   

For protocol version 2 of Queryable Encryption, the wire format of the FLE2IndexUpdatePayload has changed. The ECC token is removed, and the contentionFactor and serverDerivedFromDataToken fields are added. For each edge token sets, the ECC token is also replaced by the serverDerivedFromDataToken.

libmongocrypt must therefore start converting FLE2EncryptionPlaceholders for inserts/updates/findAndModifies to the new FLE2InsertUpdatePayloadV2 payload type.



 Comments   
Comment by Githook User [ 16/Feb/23 ]

Author:

{'name': 'Shreyas Kalyan', 'email': '35750327+shreyaskalyan@users.noreply.github.com', 'username': 'shreyaskalyan'}

Message: MONGOCRYPT-527 Add parse & serialization of FLE2InsertUpdatePayloadV2 (#573)

Co-authored-by: Shreyas Kalyan <shreyas.kalyan@mongodb.com>
Branch: master
https://github.com/mongodb/libmongocrypt/commit/1143c4c5eb5a47d4e2603ba6b9ba4f5d8f847538

Comment by Githook User [ 16/Feb/23 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}

Message: MONGOCRYPT-527 Add parse & serialization of FLE2InsertUpdatePayloadV2
Branch: shreyaskalyan/MONGOCRYPT-527
https://github.com/mongodb/libmongocrypt/commit/2a6ab0fa27b78b4c8981756a07845ce19b01e931

Comment by Githook User [ 13/Feb/23 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}

Message: MONGOCRYPT-527 Add parse & serialization of FLE2InsertUpdatePayloadV2
Branch: shreyaskalyan/MONGOCRYPT-527
https://github.com/mongodb/libmongocrypt/commit/75585c2d32edf7fcf44e6061a501ed9bbaf9d3b3

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