[DRIVERS-2449] Do not connect to mongocryptd if shared library is loaded Created: 26/Sep/22 Updated: 27/Oct/22 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Dmitry Lukyanov (Inactive) | Assignee: | Dmitry Lukyanov (Inactive) |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Epic Link: | FLE 1.0 Shared Library | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Server Compat: | 5.3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Quarter: | FY23Q2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | Ensure that a MongoClient for mongocryptd is not created when shared library is in use |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
| Comments |
| Comment by Githook User [ 27/Oct/22 ] |
|
Author: {'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}Message: DRIVERS-2449 Omit mongocryptd client (#1330) |
| Comment by Kevin Albertson [ 27/Sep/22 ] |
|
|
| Comment by Dmitry Lukyanov (Inactive) [ 27/Sep/22 ] |
jeff.yemin@mongodb.com, there is a linked PR with proposal.
yes, you're right.
I can think only about unit tests with reflection for now. |
| Comment by Jeffrey Yemin [ 27/Sep/22 ] |
|
Also, can you think of a way to test this behavior? |
| Comment by Jeffrey Yemin [ 27/Sep/22 ] |
|
dmitry.lukyanov@mongodb.com what do you propose to change about https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/client-side-encryption.rst#mongocryptd? That not only should mongocryptd should not be spawned when the shared lib is required or available, but also that a driver should not try to connect to mongocrpytd (whether auto-spawned or not)? |