Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ov1I2-00088Z-Jz for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Nov 2022 19:08:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ov1I1-00074e-I7 for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Nov 2022 19:08:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ov1I1-00074V-8E for pgsql-hackers@lists.postgresql.org; Tue, 15 Nov 2022 19:08:09 +0000 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ov1Hy-0004LH-QM for pgsql-hackers@postgresql.org; Tue, 15 Nov 2022 19:08:08 +0000 Received: by mail-lf1-x133.google.com with SMTP id s8so8817202lfc.8 for ; Tue, 15 Nov 2022 11:08:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timescale.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=C70oAZcGG/1qGWpMB0+DAVZVHowP+ArXFmVmkIDRjcM=; b=mDNd4WOqW5DJrglKR5FgbeTkXSWjaRjV1Md0BisFm3vjefQYCSHW/4OJrLw3ZL+Tnh +LAovJinUO/bNv/ePwtlIu5PoopYn0C8qgXY/aMo0DC3YuS0NbWnGytsy8EAM7be8v5S o4AvICpkDAIGd/vlt4p4s4ZmCZsVQhe1AROuCradrldbaHQiQbdjFjd4UeuH58m53aFi MSKfyyvRaAaAkMlTwt+YLToAwZCy4LIzuslm5kiNZKVqpchvz8hoU/zFXCefoTvpvAbZ grdkcfmeeeovt5kvwlONhDTYtAgg4WoLJnc6BLIurvb0Aj03Uk7fg3d2tQwhPbPtGG+g QvXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C70oAZcGG/1qGWpMB0+DAVZVHowP+ArXFmVmkIDRjcM=; b=FiwtO2WD/eojVd1F3SZ0U3r9xbd6JuTy3SVuhZV6x2hWkqFsRCkTyhWNAl5BQjndjg TDBrT9IjTn+k5opjcnhHYP5iVtHBVML4MDSXStnfUxgPUf3Foyqdl37yqkf5hSfoI43I MylgtIkIR9RbbqjGLpcrGLCJCR31jRLU/YVvoMDadpoX+SdsObqZ10WXcuT9crtqq/kH b1f2PHJd8YC5JjFe47bfppda+fti2D6+X5CpNql4rHgBQIscgeIpQbNZ7y5OgnyWXXU8 PdrDWntaqlKLhHadbs46Obk6L4yQXEh8MsPUGOxRxV3MKB7eMjmxMaiMli9BrHUuHerT NDFA== X-Gm-Message-State: ANoB5pkhPglQe7ONSSVBgSGbVPG6jCxUf5PTJfqW8v3v2s4WtlRyAgcU djyp+q65MpJt2wLKp/1oHJMKzHE7gZaKKbs9SXDKhsYo3yLckA== X-Google-Smtp-Source: AA0mqf5yT37dFuTF7OfC7XQWUggecznH3csTDuqvWFXCRTuOVoDFJcoBj4vXegeU4GEYdOGWlwkjvYEbwe1gB9MGtiA= X-Received: by 2002:ac2:5588:0:b0:4aa:83e6:53e8 with SMTP id v8-20020ac25588000000b004aa83e653e8mr5854594lfg.606.1668539285730; Tue, 15 Nov 2022 11:08:05 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jacob Champion Date: Tue, 15 Nov 2022 11:07:54 -0800 Message-ID: Subject: Re: Moving forward with TDE To: David Christensen Cc: PostgreSQL-development , Stephen Frost Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Oct 24, 2022 at 9:29 AM David Christensen wrote: > I would love to open a discussion about how to move forward and get > some of these features built out. The historical threads here are > quite long and complicated; is there a "current state" other than the > wiki that reflects the general thinking on this feature? Any major > developments in direction that would not be reflected in the code from > May 2021? I don't think the patchset here has incorporated the results of the discussion [1] that happened at the end of 2021. For example, it looks like AES-CTR is still in use for the pages, which I thought was already determined to be insufficient. The following next steps were proposed in that thread: > 1. modify temporary file I/O to use a more centralized API > 2. modify the existing cluster file encryption patch to use XTS with a > IV that uses more than the LSN > 3. add XTS regression test code like CTR > 4. create WAL encryption code using CTR Does this patchset need review before those steps are taken (or was there additional conversation/work that I missed)? Thanks, --Jacob [1] https://www.postgresql.org/message-id/flat/20211013222648.GA373%40momjian.us