<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>encryption on Mimus</title><link>https://mimus.pgsty.com/tags/encryption/</link><description>Recent content in encryption on Mimus</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 07 Nov 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://mimus.pgsty.com/tags/encryption/index.xml" rel="self" type="application/rss+xml"/><item><title>The kernel patches pg_tde needs and their upstream prospects</title><link>https://mimus.pgsty.com/blog/pg-tde-kernel-patches-and-upstream/</link><pubDate>Sat, 07 Nov 2026 00:00:00 +0800</pubDate><guid>https://mimus.pgsty.com/blog/pg-tde-kernel-patches-and-upstream/</guid><description>&lt;p&gt;Percona&amp;rsquo;s &lt;code&gt;pg_tde&lt;/code&gt; extension implements transparent data encryption (TDE) for PostgreSQL heap tables, indexes and WAL. An early community mode (&lt;code&gt;tde_heap_basic&lt;/code&gt;, which left indexes in cleartext) was deprecated in March 2025 and removed from &lt;code&gt;pg_tde&lt;/code&gt; 2.2.x. Running &lt;code&gt;pg_tde&lt;/code&gt; on PostgreSQL 18 therefore requires the kernel patch set in Percona Server for PostgreSQL (&lt;code&gt;PSP_REL_18_STABLE&lt;/code&gt;).&lt;/p&gt;&#10;&lt;p&gt;On 2026-11-07, we audited that patch set against stock PG 18.4, PG &lt;code&gt;19rc1&lt;/code&gt; and PG 20 &lt;code&gt;master&lt;/code&gt;, and traced every related thread on &lt;code&gt;pgsql-hackers&lt;/code&gt; and the Commitfest. This post records our findings and conclusions for Mimus (&lt;a href="https://mimus.pgsty.com/docs/patches/tde/"&gt;Storage patches for pg_tde&lt;/a&gt;&#10;).&lt;/p&gt;</description></item><item><title>How pg_tde keeps data encrypted through PostgreSQL storage</title><link>https://mimus.pgsty.com/docs/tde/upstream/blog/guide/encryption-architecture/</link><pubDate>Sat, 07 Nov 2026 00:00:00 +0800</pubDate><guid>https://mimus.pgsty.com/docs/tde/upstream/blog/guide/encryption-architecture/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see &lt;a href="https://mimus.pgsty.com/docs/tde/"&gt;PG TDE on Mimus&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;An editorial reading note by PGSTY, based on the upstream documentation.&lt;/p&gt;&#10;&lt;p&gt;Encryption only helps when it follows the real storage path. pg_tde marks the tables that need encryption with &lt;code&gt;tde_heap&lt;/code&gt;, then uses PostgreSQL&amp;rsquo;s Storage Manager to encrypt pages before they reach disk and decrypt them before they enter the buffer cache.&lt;/p&gt;</description></item></channel></rss>