[MONGOCRYPT-542] Add serverDataDerivedToken to _FLE2EncryptedPayloadCommon_t Created: 21/Feb/23  Updated: 28/Oct/23  Resolved: 07/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

Issue Links:
Duplicate
is duplicated by MONGOCRYPT-548 Add a global feature flag to toggle u... Closed
Epic Link: PM-2972
Binding Changes: Not Needed

 Description   

To support the serialization of v2 payloads, the current eccDerivedToken field in the _FLE2EncryptedPayloadCommon_t struct in mongocrypt-marking.c should be replaced by another _mongocrypt_buffer_t called serverDerivedFromDataToken.

Consequently, the _FLE2EncryptedPayloadCommon_cleanup() should be updated, and _mongocrypt_fle2_placeholder_common() will have to be changed to replace the derivation of the ECCToken with that of the serverDerivedFromDataToken.



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

Author:

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

Message: MONGOCRYPT-542 Use FLE2v2 payloads
Branch: shreyaskalyan/MONGOCRYPT-539
https://github.com/mongodb/libmongocrypt/commit/e3a35c9f39f7af469725618b287cd1be193be22d

Comment by Githook User [ 07/Mar/23 ]

Author:

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

Message: MONGOCRYPT-542 Use FLE2v2 payloads
Branch: master
https://github.com/mongodb/libmongocrypt/commit/e3a35c9f39f7af469725618b287cd1be193be22d

Comment by Sara Golemon [ 06/Mar/23 ]

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

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