Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vrwWW-00E6tz-1P for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Feb 2026 11:12:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vrwWV-001sdV-0o for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Feb 2026 11:12:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vrwWU-001sdN-2i for pgsql-hackers@lists.postgresql.org; Mon, 16 Feb 2026 11:12:15 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vrwWS-000000010YT-3RTV for pgsql-hackers@postgresql.org; Mon, 16 Feb 2026 11:12:14 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-59e646a4b9eso3439329e87.3 for ; Mon, 16 Feb 2026 03:12:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karrdal-com.20230601.gappssmtp.com; s=20230601; t=1771240327; x=1771845127; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from:sender :from:to:cc:subject:date:message-id:reply-to; bh=3iGX7zPMJerH1CWuR6eq+d7s3TuLMjaFOoDSeUu507w=; b=t4BPFvhXSuG7oKKzOHsS9GXnNSpDZY7Z3TNxEo6L3egJIAmb6rDkmvuUuul1JNXYhL R8jF3Lu98hWL7nqSHcmKsarzTf7q/+V5MGqoaRHhmt7Asqg4BlkZgwuq9c/CFUaoeozG O8ZZWBxziGsrWCDbHKUYMPX0P8GSropVNA8Pc1m6heVVqocL2Ev3e1k1QJ3UQoO5rPKy n+Ma8I5sTdIznlvFcVMJL0j9YZ8ox/CHHv9St7shBmS4Q6r7CDCwRjfoZ0/oFZ6b1Alf t0bqmJCZeAkFXdk03kFdJSWHn+cJQfflCyYnWWcZYNhee5cqFHWJ0Imy8zNF/NyhGIhF iHtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771240327; x=1771845127; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from:sender :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3iGX7zPMJerH1CWuR6eq+d7s3TuLMjaFOoDSeUu507w=; b=nv/nxTbCUI/ThZhSp70e600pIv36CqkM8DTIqcAdmj8sqFralRISE0AFYaErIGHXdB +B9pZ9oFPLMj9ezisodNVIClBB9+BB3+dZM7LyOiJK3Dh2UR4ZP00skqUP5LGqnpyQ6E 8x9Nra3SPkJjHFOIteF9nezNfeCbX+JLYyBzTvxCy56TVvbChj3gWJVfb599jWGn1pOw VUeqRxqjMGCi73ueGNCm5Lk6YTsbyt9hSkSs5vqL/hu4haLiXHN9K0qllinTWzvF9qbA LwiPA+v/poYniGjI1ebJ6bgXF9UDOGjKHvhzTqo/DjMLq0NpDBkSsQqrnDnD105VnFBo 8lcQ== X-Gm-Message-State: AOJu0Ywi4QNGobiMqazA4oPwsh4SAqdtyWhR/Vq2NA5sZsW1IwyiM1zK KnJ+gml2q2VLb80JA/+ApTarUO2JN5Y5aIBNEclvwz1v0J6xGwWxrooN1opAwf9VSUg= X-Gm-Gg: AZuq6aLo4TfrY8H30h2g85iRDkpDSsGl2uM5e+juP/YxrbgPTvqcz9dA+WhJgIOT6A9 wGvC8hsaqhk9sbMierFFyZL7EbRSdyMnO9ZpUATAUzTdTUetfwSG3Y9+ED2NZI0mQ7LbuHF5ffh /NvSa4bE+AIF6B6Z2y33GRhrT5yFV5frs81jGy5c+EGLQ4HXOR6LC+T3PZPeXjCcCDYRja9M59z QFuGQCl1N3G98fxojthYavdRUzgaHSF69oHVNLvy6VffB3694uENDwEMtMphxisAanjAMSKF/cY TFf50vyKv1u6PofP0izgWNLe/JPtw1rCBbqqH1xPw/TEjKzdGdsr2SCKcTVRBtcs71KdVecWSEa 7VnGmST449j5/5J6Z0p/8C9Dj13V9l7NDmW9UvCOltGU0pP+hSD9C5DSrklffuUigBHc4jkenER BS2/oBfKeTVzrNKxE/YMg/g6upUzXsg9tV2YomE2LDY6CVlBmz1ocrRVtyng== X-Received: by 2002:a05:6512:1195:b0:59d:d22b:8d30 with SMTP id 2adb3069b0e04-59f6d379d16mr2467551e87.33.1771240326483; Mon, 16 Feb 2026 03:12:06 -0800 (PST) Received: from [192.168.1.116] (c-85-229-111-146.bbcust.telenor.se. [85.229.111.146]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-59e5f56fe99sm3212182e87.36.2026.02.16.03.12.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Feb 2026 03:12:05 -0800 (PST) Sender: =?UTF-8?Q?Anders_=C3=85strand?= From: "=?UTF-8?Q?Anders_=C3=85strand?=" X-Google-Original-From: =?UTF-8?Q?Anders_=C3=85strand?= Message-ID: Date: Mon, 16 Feb 2026 12:12:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Follow-up on OpenSSL "engines" and "providers" To: Daniel Gustafsson , Bear Giles Cc: PostgreSQL Hackers References: <285A986D-C9A4-40DF-9061-B084ADA2C61E@yesql.se> Content-Language: en-US In-Reply-To: <285A986D-C9A4-40DF-9061-B084ADA2C61E@yesql.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > FWIW there has been discussion among those of us who regularly dip our toes in > the OpenSSL support code to add some form of integration with vaults (like > vault from Hashicorp, ipa/idm from Redhat, Keychain from Apple etc) for storing > secrets. AFAIK there are no concrete patches to look at (yet?), but there is > interest and it will most likely be discussed at PGConf.dev in case you are > thinking of attending. I've been toying with the idea of building a key manager extension that could be used by others to get hold of secrets or use encryption keys without necessarily having to know where those secrets would be stored. It could use loadable shared libraries for the different providers similar to how we do it for OAuth. I don't believe this code would have to start out in core at all, but maybe we will want to integrate it later for reasons. -- Anders Åstrand Percona