Skip to content

PG-1460 Always generate a new WAL key on server start #203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025

Conversation

jeltz
Copy link
Collaborator

@jeltz jeltz commented Apr 10, 2025

Since you can take a copy of a PostgreSQL data directory and start both the old and the new version you could get two versions where the same encrypted counter is used for CTR which would mean we could comapre them and potentially decrypt the data. For this reason we need to generate a new WAL key every time we start the server.

Since you can take a copy of a PostgreSQL data directory and start both
the old and the new version you could get two versions where the same
encrypted counter is used for CTR which would mean we could comapre
them and potentially decrypt the data. For this reason we need to
generate a new WAL key every time we start the server.
@jeltz jeltz requested review from dutow and dAdAbird as code owners April 10, 2025 23:23
@jeltz jeltz merged commit 06b671f into percona:TDE_REL_17_STABLE Apr 15, 2025
14 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.

2 participants