[JAVA-3554] Client Side Encryption bypassAutoEncryption should not require mongocryptd Created: 17/Dec/19  Updated: 28/Oct/23  Resolved: 06/Jan/20

Status: Closed
Project: Java Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: 3.12.1

Type: Improvement Priority: Major - P3
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by JAVA-3589 Validate that mongocryptd is not spaw... Closed

 Description   

From the spec:

bypassAutoEncryption still supports auto decryption. In cases where mongocryptd cannot analyze a query, it's still useful to provide auto decryption. Just like static program analysis cannot always prove that a runtime invariant holds, mongocryptd cannot always prove that a query will be safe with respect to encryption at runtime.

When a user sets bypassAutoEncryption then auto spawning of mongocryptd should be disabled.



 Comments   
Comment by Githook User [ 06/Jan/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Client Side Encryption bypassAutoEncryption fix

If auto encryption is bypassed then the driver no longer tries
to spawn mongocryptd.

JAVA-3554
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/94d0eb2baae9de199b13d9f4110be7c6dbe7b256

Comment by Githook User [ 18/Dec/19 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Client Side Encryption bypassAutoEncryption fix

If auto encryption is bypassed then the driver no longer tries
to spawn mongocryptd.

JAVA-3554
Branch: 3.12.x
https://github.com/mongodb/mongo-java-driver/commit/9751546726f43301751d99cb84cfaf316af6c151

Generated at Thu Feb 08 08:59:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.