[MDEV-9010] Encryption preset file contains different configuration preset then documentation Created: 2015-10-25 Updated: 2015-10-29 Resolved: 2015-10-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation, Encryption |
| Affects Version/s: | 10.1.8 |
| Fix Version/s: | 10.1.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michaël de groot | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS7 |
||
| Issue Links: |
|
||||||||
| Sprint: | 10.1.9-1 | ||||||||
| Description |
|
Hi, In the CentOS7 package there is a /etc/my.cnf.d/encryption.preset file. This file contains configurations 'loose-innodb-encrypt-log' and 'loose-innodb-encrypt-tables'. Also it contains aria-encrypt-tables, the server does not start with this. It requires an option, after changing this to =1 it no longer gives an error on this. According to the documentation it should be innodb-encrypt-tables = FORCE and innodb-encrypt-log: https://mariadb.com/kb/en/mariadb/data-at-rest-encryption/#which-storage-engines-does-mariadb-encryption-support Cheers, |
| Comments |
| Comment by Elena Stepanova [ 2015-10-25 ] | ||||
|
It has already been addressed in
Documentation does not say it should be FORCE. It can be ON (same as no argument). See config example on the same page. | ||||
| Comment by Michaël de groot [ 2015-10-26 ] | ||||
|
The encryptions.preset file says it now, and in the future, guarantees that everything will be encrypted. I think it should be FORCE in this example. | ||||
| Comment by Elena Stepanova [ 2015-10-26 ] | ||||
|
If you mean the comment in the preset file, it now says, I'm quoting,
That's exactly what the value 'ON' does. The value 'FORCE' does not add anything to 'encrypting everything that can be encrypted', it only makes InnoDB produce errors when you are explicitly trying to create an unencrypted table. These tables are outside the scope of the comment because they cannot be encrypted anyway. | ||||
| Comment by Michaël de groot [ 2015-10-26 ] | ||||
|
My bad, you are right about that. I remembered it not setting encryption by default somehow, but it does. I remembered wrong. | ||||
| Comment by Sergei Golubchik [ 2015-10-29 ] | ||||
|