pg_tde Beta 2 (2024-12-16)
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
This page describes this release at publication time. For current deployment requirements, read the supported versions and limitations.
pg_tde extension brings in Transparent Data Encryption (TDE) to PostgreSQL and enables you to keep sensitive data safe and secure.
This version of Percona Transparent Data Encryption extension is not recommended for production environments yet. We encourage you to test it and give your feedback.
This will help us improve the product and make it production-ready faster.
Release Highlights
With this release, pg_tde extension offers two database specific versions:
- PostgreSQL Community version provides only the
tde_heap_basicaccess method using which you can introduce table encryption and WAL encryption for data in the encrypted tables. Index data remains unencrypted. - Version for Percona Server for PostgreSQL provides the
tde_heapaccess method. using this method you can encrypt index data in encrypted tables thus increasing the safety of your sensitive data. For backward compatibility, thetde_heap_basicmethod is available in this version too.
Changelog
The Beta 2 version introduces the following features and improvements:
New Features
- Added the
tde_heapaccess method with which you can now enable index encryption for encrypted tables and global WAL data encryption. To use this access method, you must install Percona Server for PostgreSQL. Check the installation guide - Added event triggers to identify index creation operations on encrypted tables and store those in a custom storage.
- Added support for secure transfer of keys using the OASIS Key Management Interoperability Protocol (KMIP). The KMIP implementation was tested with the PyKMIP server and the HashiCorp Vault Enterprise KMIP Secrets Engine.
Improvements
WAL encryption improvements:
- Added a global key to encrypt WAL data in global space
- Added WAL key management
Keyring improvements:
- Renamed functions to point their usage for principal key management
- Improved keyring provider management across databases and the global space.
- Keyring configuration now uses common JSON API. This simplifies code handling and enables frontend tools like
pg_waldumpto read the code thus improving debugging.
The
pg_tde_is_encryptedfunction now supports custom schemas in the format ofpg_tde_is_encrypted('schema.table');Changed the location of internal TDE files: instead of the database directory, now all files are stored in
$PGDATA/pg_tdeImproved error reporting when
pg_tdeis not added to theshared_preload_librariesImproved memory usage of
tde_heap_basicduring sequential readsImproved
tde_heap_basicfor select statementsAdded encryption support for (some) command line utilities
Bugs fixed
- Fixed multiple bugs with
tde_heap_basicand TOAST records - Fixed various memory leaks