Vitaly Baranov
6d45d0c374
Use fingerprints instead of key IDs in encrypted disks ( #49882 )
...
* Use fingerprints instead of key IDs to find keys in encrypted disks.
Always use little endian in the headers of encryption files.
* Add tests.
* Fix copying binary files to test containers.
* Fix ownership for copied files in test containers.
* Add comments after review.
---------
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-05-31 13:11:10 +02:00
Vitaly Baranov
943707963f
Add backup setting "decrypt_files_from_encrypted_disks"
2023-05-16 14:27:27 +02:00
Vitaly Baranov
d0fd81fa27
Add tests.
2023-05-16 14:27:27 +02:00
Alexander Tokmakov
83b12ec5ca
replace NO DELAY with SYNC in tests
2023-05-03 20:08:49 +02:00
kssenii
314ee12442
Fix checks
2023-03-27 19:20:11 +02:00
kssenii
5a4525742d
Drop table after test
2023-03-24 18:53:00 +01:00
kssenii
16ebfcc3f8
Better delegate disks handle mutual path
2023-03-24 16:21:19 +01:00
alesapin
7a223f4956
Slightly better clickhouse disks and remove DiskMemory
2022-12-08 18:20:54 +01:00
Alexey Milovidov
b42d26acfe
Remove one line from XML, because we do not care
2022-08-28 02:44:02 +02:00
Vitaly Baranov
3b6bacbf0b
Add tests.
2022-07-28 22:38:50 +02:00
Mikhail f. Shiryaev
e6f5a3f98b
Apply black formatter to all *.py files in the repo
2022-03-22 17:39:58 +01:00
Alexey Milovidov
cba6e39fe5
Replace yandex to clickhouse in configs
2021-09-25 07:08:34 +03:00
Alexey Milovidov
e513a5db32
Change <yandex> to <clickhouse> in configs
2021-09-20 01:38:53 +03:00
Vitaly Baranov
51f882d8cc
Support multiple keys for encrypted disk. Display error message if the key is probably wrong.
2021-07-24 23:45:12 +03:00
Vitaly Baranov
81ea8521b1
Set encryption algorithm explicitly.
2021-07-18 10:29:42 +03:00
Vitaly Baranov
9cc258327e
Add comments for encrypted disks; some improvements in code.
2021-07-16 12:04:25 +03:00
Alexandra
2cf92050ab
init retest
2021-05-23 13:31:48 +00:00
Alexandra
0a5dc1fcf7
add optimize on encrypted disk integration test
2021-05-23 12:44:45 +00:00
Alexandra
45d8a63ff4
add disk_s3_encrypted to integration test
2021-05-23 08:43:29 +00:00
Alexandra
9029ca8c36
add test_encrypted_disk integration test
2021-05-23 00:18:59 +00:00