-
Notifications
You must be signed in to change notification settings - Fork 113
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
integration tests perform encryption manually #4770
Comments
cc @johnniechan to add a bit more details: at the moment, in these tests we manually build the encryptor object based on the initial request, and then use that to encrypt the invocation request. All of this logic is already encapsulated in the oak_client crate: Lines 63 to 85 in 2980d12
it may be necessary to adjust the underlying trait abstractions in order to support the tests, since there would not be an actual gRPC channel in tests, but the logic should be abstract enough to work in both cases |
oak/oak_functions_enclave_service/tests/integration_test.rs
Lines 108 to 113 in 2980d12
we should use a version of some OakClient library, also to make it easier for the tests to be maintained as we make changes to the protos and other parts of the encryption stack
The text was updated successfully, but these errors were encountered: