[MDEV-17267] Document how to encrypt Aria tables on existing server Created: 2018-09-21 Updated: 2018-12-22 Resolved: 2018-12-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation - Support, Encryption, Storage Engine - Aria |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Geoff Montee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
We should document how to encrypt Aria tables on an existing server. The documentation doesn't currently say: https://mariadb.com/kb/en/library/encrypting-data-for-aria/ As far as I can tell, an Aria table is only encrypted if aria_encrypt_tables=ON was set when it was created. TestI tested this by doing the following: 1.) Start a server with aria_encrypt_tables=OFF. 2.) Run the following statements:
3.) Set aria_encrypt_tables=ON;
4.) Execute the following:
The table does not appear to be encrypted. To make sure it's encrypted, it looks like I have to do the following:
At that point, the table seems to be encrypted:
Generic ProcessSo the generic process to enable Aria encryption looks like this: 1.) Set aria_encrypt_tables=ON.
Make sure to also set it in the configuration file. 2.) Find all Aria tables that use the PAGE row_format:
3.) For each table in the results,rebuild the table:
|
| Comments |
| Comment by Geoff Montee (Inactive) [ 2018-12-20 ] |
|
https://mariadb.com/kb/en/library/encrypting-data-for-aria/#enabling-encryption |
| Comment by Geoff Montee (Inactive) [ 2018-12-20 ] |
|
Are you familiar with Aria encryption? If so, do the documentation changes look good? https://mariadb.com/kb/en/library/encrypting-data-for-aria/#enabling-encryption |
| Comment by Geoff Montee (Inactive) [ 2018-12-20 ] |
|
serg, I see that you implemented |