-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GODRIVER-3038 Apply CSE to IndexView operations #1636
Conversation
API Change ReportNo changes found! |
}) | ||
} | ||
|
||
func TestFLEIndexView(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kevinAlbs Would this be a good candidate as an optional FLE prose test for drivers that support index view?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libmongocrypt bypasses listIndexes
and dropIndexes
. The commands are returned as-is since the commands are not expected to contain values needing encryption.
I still agree with this PR. I think it is slightly preferable to process these commands with libmongocrypt for consistency with other commands. But I expect it is not strictly necessary, since the caller would not observe a difference when processing with libmongocrypt.
Since I expect is no observable behavior difference when processing listIndexes
and dropIndexes
with libmongocrypt, and a prose test may rely on private API that is not consistent among all drivers, I recommend against pursuing a prose test for all drivers.
}) | ||
} | ||
|
||
func TestFLEIndexView(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libmongocrypt bypasses listIndexes
and dropIndexes
. The commands are returned as-is since the commands are not expected to contain values needing encryption.
I still agree with this PR. I think it is slightly preferable to process these commands with libmongocrypt for consistency with other commands. But I expect it is not strictly necessary, since the caller would not observe a difference when processing with libmongocrypt.
Since I expect is no observable behavior difference when processing listIndexes
and dropIndexes
with libmongocrypt, and a prose test may rely on private API that is not consistent among all drivers, I recommend against pursuing a prose test for all drivers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
e31ebbd
GODRIVER-3038
Summary
Add FLE support to IndexView.List and IndexView.Crypt
Background & Motivation