[SERVER-74066] Remove checks that require the eccCollection namespace in EncryptionInformation Created: 15/Feb/23  Updated: 29/Oct/23  Resolved: 23/Mar/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: Shreyas Kalyan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-75683 Return error if encryptedFields conta... Closed
Assigned Teams:
Server Security
Backwards Compatibility: Fully Compatible
Sprint: Security 2023-03-20, Security 2023-04-03
Participants:
Linked BF Score: 135

 Description   

The eccCollection field is part of the EncryptedFieldConfig structure, which in turn, appears in the schema field of the EncryptionInformation structure. Currently, QE writes require that the eccCollection (as well as escCollection and ecocCollection fields) be present in the command's schema. This assertion is done in EncryptionInformationHelpers::getAndValidateSchema().

In V2, since ECC is removed, the requirement that eccCollection be present must be removed.



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

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}

Message: SERVER-74066 Fix multiversion bug for compact_structured_encryption_data_coordinator.js
Branch: master
https://github.com/mongodb/mongo/commit/6dda8b04dea784519f883e0afa80da502d64c1fb

Comment by Githook User [ 23/Mar/23 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}

Message: SERVER-74066 Remove checks that require the eccCollection namespace in EncryptionInformation
Branch: master
https://github.com/mongodb/mongo/commit/e1ba18ecc0c1a7b65aabc412b94e13e2e6fba6a8

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