[MONGOCRYPT-27] Non matching binData values stripped during auto encryption Created: 25/Jun/19 Updated: 28/Oct/23 Resolved: 27/Jun/19 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Build libmongocrypt library |
| Description |
|
libmongocrypt strips away non-matching binData for auto encryption (i.e. not a marking|ciphertext during encryption|decryption). So code like the following:
... will silently strip the "explicitly_encrypted" field in the insert command. |
| Comments |
| Comment by Githook User [ 27/Jun/19 ] |
|
Author: {'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}Message: |