Skip to content
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

Extend SQL syntax for searchable encryption #586

Merged
merged 10 commits into from
Oct 4, 2022

Conversation

Zhaars
Copy link
Contributor

@Zhaars Zhaars commented Sep 29, 2022

Extension syntax for searchable encryption to support INSERT/UPDATE/DELETE syntax as we did in PR with searchable tokenization

P.S. Also, during integration testing, I noticed that a lot of raw bytes were printed in the output. Changed the logging fields just to print packet type instead of raw bytes slice.

Checklist

Implement searchable tokenization for PostgreSQL for text/binary protocols
Updated CHANGELOG_DEV.md file
Extend SQL syntax for searchable tokenization
Extend syntax for searchable encryption to suport INSERT/UPDATE/DELETE
# Conflicts:
#	encryptor/searchable_query_filter.go
@Zhaars Zhaars requested a review from Lagovas September 29, 2022 16:13
if err != nil {
t.Fatal(err)
testcases := []testcase{
{Query: "SELECT data1 from test_table WHERE data1=$1"},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add unit-tests for these cases but with value literals? to test it without prepared statements too.

Added unit test for searchable encryption extended syntax
@Zhaars Zhaars requested a review from Lagovas October 4, 2022 09:38
@Zhaars Zhaars merged commit 0d9d499 into master Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants