[SERVER-69114] Write a test to demonstrate that fle encryption is non-deterministic Created: 24/Aug/22 Updated: 29/Oct/23 Resolved: 08/Sep/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Shreyas Kalyan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Security 2022-09-05, Security 2022-09-19 |
| Participants: |
| Description |
|
A product manager wants a test that proves that two documents that have the same value for an encrypted field differently and not deterministically. |
| Comments |
| Comment by Githook User [ 08/Sep/22 ] |
|
Author: {'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}Message: |
| Comment by Mark Benvenuto [ 24/Aug/22 ] |
|
Test should be written in javascript. It can simple insert the same document twice with a field encrypted with equality indexed and unindexed. The test then needs to simple compare the encrypted field contents and demonstrate they are not equal to each other |