[MONGOCRYPT-125] Check command upon auto encryption initialization Created: 23/May/19 Updated: 28/Oct/23 Resolved: 31/May/19 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Build libmongocrypt library | ||||||||
| Description |
|
Per document review meeting, we've decided to move the check for whether a command should undergo auto encryption from the driver into libmongocrypt. This requires a change to mongocrypt_ctx_encrypt_init to take the full command instead of just the namespace. In addition, now for MONGOCRYPT_CTX_MONGO_NEED_MARKINGS, instead of just returning the jsonSchema, we can return the full command to be sent to mongocryptd. |
| Comments |
| Comment by Githook User [ 31/May/19 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: |
| Comment by Githook User [ 31/May/19 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: |
| Comment by Githook User [ 31/May/19 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: |