[SERVER-72926] Implement v2 changes to Queryable Encryption finds Created: 17/Jan/23  Updated: 29/Oct/23  Resolved: 16/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Erwin Pe Assignee: Erwin Pe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-74057 Create a variation of the QE query re... Closed
Assigned Teams:
Server Security
Backwards Compatibility: Fully Compatible
Sprint: Security 2023-02-20
Participants:

 Description   

In v2 of the QE protocol, the main change to encrypted finds is the use of the new v2 EmuBinary algorithm for generating the tags used in the $In query. Since the ECC has been obsoleted, there is no longer a need to calculate the set of tags minus the "gaps", instead the set of tags is just generated from counter values in the range [1...count].

The server must return an error if it encounters a FLE2FindEqualityPayload or a FLE2FindRangePayload type, and must start accepting FLE2FindEqualityPayloadV2 or FLE2FindRangePayloadV2.

In the case of collScanMode, the syntax and evaluations of expressions $_internalFleEq and $_internalFleBetween will also change (details in design doc & OST-1 v6)

 



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

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-72926 Implement v2 changes to Queryable Encryption finds
Branch: master
https://github.com/mongodb/mongo/commit/be02dab9ef80b9c242ecb3958ec43d3dc82fa7a5

Generated at Thu Feb 08 06:23:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.