[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: |
|
||||||||
| 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: |
| Comment by Githook User [ 07/Mar/23 ] |
|
Author: {'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}Message: |
| Comment by Sara Golemon [ 06/Mar/23 ] |