[DRIVERS-2586] Create and drop collection helpers should ignore custom names for Queryable Encryption metadata collections Created: 28/Mar/23 Updated: 14/Sep/23 Resolved: 12/Apr/23 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | Client Side Encryption |
| Fix Version/s: | None |
| Type: | Task | Priority: | Unknown |
| Reporter: | Jeremy Mikola | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Engineering Lead: | |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
SummaryDRIVERS-2284 originally instructed for drivers to allow custom names for Queryable Encryption Metadata Collections via the eccCollection, ecocCollection, and escCollection fields within the encryptedFields option for the createCollection() helper.
These custom options within "encryptedFields" were never documented (see: create). The Queryable Encryption API is also documented as unstable so there should be no concern with changing this behavior. Drivers should remove any modeling of these options for "encryptedFields". The createCollection() and dropCollection() helpers should ignore any user-supplied values within the encryptedFields option and use generated names with the proper format. Any values within encryptedFields can be left as-is and passed on to the server (if that leads to an error, so be it). Additional ContextQuoting discussion from an internal Slack thread in #drivers-fle:
MotivationIs this issue urgent?No, but should be done while the Queryable Encryption API is still unstable. Is this ticket required by a downstream team?No. Is this ticket only for tests?No. |
| Comments |
| Comment by Kevin Albertson [ 12/Apr/23 ] |
|
Addressed in |
| Comment by Githook User [ 12/Apr/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
Assert that state collections names are not sent to server
This reverts commit 72280f9050997e4ea7e49b1e707b699015f6cdd8.
|
| Comment by Kevin Albertson [ 29/Mar/23 ] |
|
I agree with the rationale. I want to do this with |