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.35k stars 128 forks source link

Deprecate `tokenize` option #527

Closed G1gg1L3s closed 2 years ago

G1gg1L3s commented 2 years ago

This PR deprecates tokenize from encryptor config. It is still present, but it's role is taken by token_type - if it's not empty, the tokenization is enabled.

Also, forbids the tokenize: false and token_type: <something> pair.

Checklist