[SERVER-40891] Uassert on invalid IV length Created: 29/Apr/19 Updated: 27/Oct/23 Resolved: 13/May/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shreyas Kalyan | Assignee: | Ted Tuckman |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Sprint: | Query 2019-05-20 |
| Participants: |
| Description |
|
The FLE encryption algorithm requires an IV of length 16. If a user enters an invalid IV length in their schema, then the schema validation should fail. Currently the schema is valid and invariant failing later when inserting a document to be encrypted. |