Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions support-files/rpm/enable_encryption.preset
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,28 @@
# ensure that everything that can be encrypted will be and your
# data will not leak unencrypted.
#
# Note that for the encryption to work, you must generate a key with
# the following command: openssl enc -aes-256-ctr -k mypass -P -md sha1
# Paste the key=[encryption key] contents into a file with the following format:
# 1;[encryption key]
# Please check https://mariadb.com/kb/en/mariadb/data-at-rest-encryption/ for more info.
#
# If in the future more encryption related options will be implemented,
# this file will enable them too.
#
[mariadb]
aria-encrypt-tables
# Load the encryption plugin
plugin-load-add=file_key_management.so
file-key-management
# Location of your encryption key, preferably on an external device or remote location
file-key-management-filename = /mount/usb1/keys.txt
# Encrypt InnoDB Tables and log
innodb-encrypt-tables
innodb-encrypt-log
innodb-encryption-threads=4
# Encrypt Aria tables
aria-encrypt-tables=1
# Encrypt binary log, temp tables and temp files
encrypt-binlog
encrypt-tmp-disk-tables
encrypt-tmp-files
loose-innodb-encrypt-log
loose-innodb-encrypt-tables