[SERVER-67202] Add encryption placeholder for range index Created: 10/Jun/22  Updated: 29/Oct/23  Resolved: 13/Jul/22

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

Type: Task Priority: Major - P3
Reporter: Davis Haupt (Inactive) Assignee: Davis Haupt (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-67200 Add a new range QueryType to Encrypte... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2022-06-27, QO 2022-07-11, QO 2022-07-25
Participants:

 Description   

This ticket will require modifying the FLE2EncryptionPlaceholder type type to support placeholders with range indexes, and then make sure that the placeholder is properly serialized to BSON.

The value of a range encryption placeholder should be a BSONArray with two entries, one representing the lower bound, and one representing the upper bound. This should be verified at parse-time if the encryption type is range.

Will need to communicate downstream to Server Security to make sure that the BSON format is known for actual encryption by libmongocrypt.



 Comments   
Comment by Githook User [ 13/Jul/22 ]

Author:

{'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}

Message: SERVER-67202 Add encryption placeholder for range index
Branch: master
https://github.com/mongodb/mongo/commit/462e8f564c037ddb5b771a50a6718a02d546737e

Comment by Githook User [ 13/Jul/22 ]

Author:

{'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}

Message: SERVER-67202 Add encryption placeholder for range index
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/3a9bf7fbef562a7cffa51289318f85fd8a61944a

Comment by Davis Haupt (Inactive) [ 06/Jul/22 ]

https://github.com/10gen/mongo/pull/6222

https://github.com/10gen/mongo-enterprise-modules/pull/597

 

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