ClickHouse/programs/server
Vasily Nemkov b147ffcd43 encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).

_mysql versions are 100% compatitable with corresponding MySQL functions

Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}

Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.

Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.

Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-09-01 12:42:15 +03:00
..
config.d encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions 2020-09-01 12:42:15 +03:00
data Updated gitignore-files. 2020-08-06 18:05:32 -07:00
metadata Updated gitignore-files. 2020-08-06 18:05:32 -07:00
users.d Added a test 2020-06-14 00:13:52 +03:00
.gitignore Fixed .gitignore to exclude tests-generated data. 2020-08-25 16:41:23 -07:00
clickhouse-server.cpp Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
CMakeLists.txt encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions 2020-09-01 12:42:15 +03:00
config.xml Merge branch 'master' into embed-configs 2020-08-09 02:41:44 +03:00
embedded.xml Embed configs into binary 2020-08-08 06:42:42 +03:00
MetricsTransmitter.cpp Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
MetricsTransmitter.h Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
Server.cpp Support <user_directories> section in the main config. 2020-08-16 19:15:38 +03:00
Server.h Split programs/server into actual program and library (#11186) 2020-05-27 20:52:52 +03:00
users.xml Expect <ldap_servers> in main config.xml 2020-06-11 02:48:15 +04:00
ya.make Split programs/server into actual program and library (#11186) 2020-05-27 20:52:52 +03:00