[SERVER-40864] [FLE] Disallow random encryption of the _id field Created: 26/Apr/19  Updated: 29/Oct/23  Resolved: 16/May/19

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.1.11

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Pawel Terlecki
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2019-05-20
Participants:

 Comments   
Comment by Githook User [ 16/May/19 ]

Author:

{'email': 'pawel.terlecki@mongodb.com', 'name': 'Pawel Terlecki', 'username': 'pterlecki'}

Message: SERVER-40864 Disallow random encryption of the _id field

Introduced a bitset of allowed encryptions into parsing of encryption
schema tree to identify encryption in top-level _id subtrees with
disallowed random encryption and throw.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/6cf9d2a02795c97f8c2f3e0e9cb6e2af595fc888

Comment by Nicholas Zolnierz [ 01/May/19 ]

Throwing back into NS since it's not clear we want to actually disallow this. 

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