mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
c23fe5baf6
* change syntax of encrypted command * commit all encrypted changes * correct encryption * correct config for test * add tests and correct code style and typos * correct test * fix unbundled build * add log warning messages * improve code according to review comments * correct nonce * correct errors found by fuzzing * improve codec AES_128_GCM_SIV. Add AES_256_GCM_SIV. Add sections for last in tests. Improve documentation * Update CompressionCodecEncrypted.h * Update 01683_codec_encrypted.sql * correct compression factory after changes in master * correct behavior with wrong key in data * correct fuzzer * add connection for fuzzer with fix for compression_encrypted * refactor code * add load from config with throwing errors on server start * fix typos and check style * Update Server.cpp * correct loading and reading * refactor code. fix uninitialized value * refactor code * move defines from server to cpp file * correct build * remove repeated code * correct namespace * fix code style
18 lines
540 B
SQL
18 lines
540 B
SQL
-- Tags: no-fasttest
|
|
-- Tag no-fasttest: Depends on OpenSSL
|
|
|
|
DROP TABLE IF EXISTS encryption_test;
|
|
CREATE TABLE encryption_test (i Int, s String Codec(AES_128_GCM_SIV)) ENGINE = MergeTree ORDER BY i;
|
|
|
|
INSERT INTO encryption_test VALUES (1, 'Some plaintext');
|
|
SELECT * FROM encryption_test;
|
|
|
|
DROP TABLE encryption_test;
|
|
|
|
CREATE TABLE encryption_test (i Int, s String Codec(AES_256_GCM_SIV)) ENGINE = MergeTree ORDER BY i;
|
|
|
|
INSERT INTO encryption_test VALUES (1, 'Some plaintext');
|
|
SELECT * FROM encryption_test;
|
|
|
|
DROP TABLE encryption_test;
|