Skip to content

PBS-39 feature: Add binlog encryption config and keyring support (part 2) - #164

Merged
percona-ysorokin merged 1 commit into
Percona-Lab:0.4from
percona-ysorokin:encryption_storage_metadata
Jul 31, 2026
Merged

PBS-39 feature: Add binlog encryption config and keyring support (part 2)#164
percona-ysorokin merged 1 commit into
Percona-Lab:0.4from
percona-ysorokin:encryption_storage_metadata

Conversation

@percona-ysorokin

Copy link
Copy Markdown
Collaborator

https://perconadev.atlassian.net/browse/PBS-39

'binsrv::encryption_config' class extended with two new fields:

  • 'kek_id', representing Key-Encrypting Key identifier in the keyring, that should be used to encrypt individual binlog file keys,
  • 'cipher', representing the encryption cipher that should be used for encrypting binlog data files.

Storage metadata ('binsrv::storage_metadata') that is created during initial storage initialization now also holds info about storage encryption in the new optional 'encryption' field. The value of this field in the storage metadata is now also validated during storage initialization (compared with the '<storage.encryption.format>' field specified in the configuration file).

Main application now also prints info about active KEK (key-encrypting key) to the log file.

'algorithm' field in the 'binsrv::keyring_record' renamed to 'cipher'. Sample keyring
data file updated correspondingly.

Sample configuration file extended with the new fields.
README.md extended with new configuration parameters description.

…t 2)

https://perconadev.atlassian.net/browse/PBS-39

'binsrv::encryption_config' class extended with two new fields:
- 'kek_id', representing Key-Encrypting Key identifier in the keyring, that should be
  used to encrypt individual binlog file keys,
- 'cipher', representing the encryption cipher that should be used for encrypting
  binlog data files.

Storage metadata ('binsrv::storage_metadata') that is created during initial storage initialization now also holds info about storage encryption in the new optional
'encryption' field. The value of this field in the storage metadata is now also validated
during storage initialization (compared with the '<storage.encryption.format>'  field
specified in the configuration file).

Main application now also prints info about active KEK (key-encrypting key) to the log
file.

 'algorithm' field in the 'binsrv::keyring_record' renamed to 'cipher'.  Sample keyring
 data file updated correspondingly.

Sample configuration file extended with the new fields.
README.md extended with new configuration parameters description.
@percona-ysorokin
percona-ysorokin merged commit f62a95a into Percona-Lab:0.4 Jul 31, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant