Robert Schulze
aa25ce9e3d
Follow-up to "Implement support of encrypted elements in configuration file"
...
Cf. PR #50986
- rename XML attribute "encryption_codec" to "encrypted_by"
2023-07-26 13:27:13 +00:00
Roman Vasin
59570b7e20
Make encryptValue and decryptValue static
2023-07-18 15:07:02 +00:00
Roman Vasin
a73dca1c2f
Move getEncryptionMethod to CompressionCodecEncrypted.h
2023-07-11 13:27:11 +00:00
Robert Schulze
3472ed4f0d
Make some classes 'final'
2023-02-02 15:59:39 +00:00
Alexey Milovidov
8b4a6a2416
Remove cruft
2021-10-28 02:10:39 +03:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Filatenkov Artur
c23fe5baf6
Improve codec for encr 19896 ( #27476 )
...
* 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
2021-09-13 11:25:36 +03:00
Nikita Mikhaylov
82a0c9d4df
Fix build
2021-08-25 15:40:56 +00:00
Nikita Mikhaylov
ad4966f6d2
better
2021-08-25 15:40:56 +00:00
Yatsishin Ilya
6e74728714
more sync fixes
2021-08-04 10:58:39 +03:00
PHO
6425dd001a
Add a codec AES_128_GCM_SIV for encrypting columns on disk ( #19896 )
...
* Add a codec Encrypted() for encrypting columns on disk
While this is implemented as a compression codec, it does not actually compress data. It instead encrypts data on disk. The key is obtained by executing a user-specified command at the server startup, or if it's not specified the codec refuses to process any data. For now the only supported cipher is 'AES-128-GCM-SIV'.
2021-07-30 12:12:33 +03:00