cossacklabs / acra

Database security suite. Database proxy with field-level encryption, search through encrypted data, SQL injections prevention, intrusion detection, honeypots. Supports client-side and proxy-side ("transparent") encryption. SQL, NoSQL.
https://www.cossacklabs.com/acra/
Apache License 2.0
1.33k stars 128 forks source link

Remove zone support #574

Closed Lagovas closed 1 year ago

Lagovas commented 1 year ago

Here is removed acra-addzone tool, all zonemode related things from code, tests, benchmarks, docker files. Some of interfaces updated to support extra data additional context to be able to use AD (additional data) in AEAD (authenticated encryption with additional data) encryption. It is not used for now but left args for future extensions if we will want. But it is discussible do we need to leave it now...

It's draft because there is remaining changes in our ./examples and acrawriter wrappers. But main removings already made.

P.S. I tried to split changes into separate commits due to a lot of changes.

Checklist

Lagovas commented 1 year ago

We decided to merge this PR in next release after deprecating Zones. Additionaly, we should re-check our eng demos with these changes due to renaming several files in examples. Just a reminder for me.