[MDEV-18049] Support ENCRYPTED and ENCRYPTION_KEY_ID table options for Aria Created: 2018-12-20 Updated: 2023-11-30 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Encryption, Storage Engine - Aria |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
InnoDB supports manually encrypting tables with the ENCRYPTED and ENCRYPTION_KEY_ID table options: Aria does support data-at-rest encryption: https://mariadb.com/kb/en/library/aria-encryption-overview/ But Aria does not currently support manual encryption using these table options: https://mariadb.com/kb/en/library/aria-enabling-encryption/#manually-encrypting-tables See the following:
|
| Comments |
| Comment by Geoff Montee (Inactive) [ 2018-12-20 ] | ||||||
|
I added a note about this to the documentation: | ||||||
| Comment by Federico Razzoli [ 2019-03-19 ] | ||||||
|
Will it be possible to encrypt Aria tables in mysql database? | ||||||
| Comment by Geoff Montee (Inactive) [ 2019-03-19 ] | ||||||
|
Hi f_razzoli, Yeah, you just can't do it by setting ENCRYPTED=YES. You have to globally enable encryption for all Aria tables, and then explicitly rebuild the table. See the following documentation section: https://mariadb.com/kb/en/library/aria-enabling-encryption/#encrypting-existing-tables e.g.: 1.) Enable Aria encryption:
2.) Rebuild the table that you want to ensure is encrypted:
3.) Confirm that the table is encrypted. See the following documentation section for that: https://mariadb.com/kb/en/library/aria-encryption-overview/#determining-whether-a-table-is-encrypted e.g.:
|