[MDEV-8238] Tables with encryption=yes using file_key_management plugin are not encrypted Created: 2015-05-27 Updated: 2015-05-27 Resolved: 2015-05-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.1.4 |
| Fix Version/s: | 10.1.5 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Jan Lindström (Inactive) | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
Effect file_key_management_plugin where first tables with key_id 1-4 are created, then key_id is changed in all tables to 5. Restart server with different key file where keys 1-4 are deleted and new key_id 6-9 are introduced but naturally key 5 remains the same. Idea is to alter tables back to use changed keys for key_ids 6-9. |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2015-05-27 ] | |||
|
Actual keys can be changed as long the key_id does not change. | |||
| Comment by Jan Lindström (Inactive) [ 2015-05-27 ] | |||
|
Problem is that key_id 1 can't be removed. | |||
| Comment by Jan Lindström (Inactive) [ 2015-05-27 ] | |||
|
Key_id 1 is needed but tables are not really encrypted. | |||
| Comment by Jan Lindström (Inactive) [ 2015-05-27 ] | |||
|
commit a25ccd4f83912e02091abe1cba8515266483559b Analysis: Problem was that encryption was skipped. Fixed by making sure that tables with ENCRYPTED=YES are encrypted. |