WL#10957: Binary log encryption at rest

Affects: Server-8.0   —   Status: Complete

This worklog implements the ability to encrypt binary and relay log files online. Encryption is optional. Users can decide whether the files should be encrypted or not.

User stories

  • As a MySQL DBA/operator/instance owner, I want to enable replication logs encryption so that no data shall be leaked to an operating system user having access to the file system where the MySQL server instance stores binary and relay log files.

  • As a Security Administrator, I want both binary log and relay log to be encrypted to follow the security compliance requirements.

  • As a backup tool I shall be able to truncate a given encrypted binary log file after copying it in order to store the copy aligned with the server's master positions of the snapshot without having to rewrite contents on the encrypted file.

Scope

  • Binary log cache encryption is not considered in this worklog.