1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

encryption plugin controls the encryption

* no --encryption-algorithm option anymore
* encrypt/decrypt methods in the encryption plugin
* ecnrypt/decrypt methods in the encryption_km service
* file_km plugin has --file-key-management-encryption-algorithm
* debug_km always uses aes_cbc
* example_km changes between aes_cbc and aes_ecb for different key versions
This commit is contained in:
Sergei Golubchik
2015-03-31 19:32:35 +02:00
parent 9ccafffc29
commit bb1b61b312
36 changed files with 401 additions and 473 deletions

View File

@@ -1,8 +1,5 @@
[cbc]
encryption-algorithm=aes_cbc
[ecb]
encryption-algorithm=aes_ecb
file-key-management-encryption-algorithm=aes_cbc
[ctr]
encryption-algorithm=aes_ctr
file-key-management-encryption-algorithm=aes_ctr

View File

@@ -1,5 +1,3 @@
-- source encryption_algorithms.inc
if (!$EXAMPLE_KEY_MANAGEMENT_SO)
{
--skip Needs example_key_management

View File

@@ -1,4 +1,4 @@
-- source encryption_algorithms.inc
--source encryption_algorithms.inc
if (!$FILE_KEY_MANAGEMENT_SO)
{