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 1viRh4-006SsK-0o for pgsql-general@arkaria.postgresql.org; Wed, 21 Jan 2026 06:27:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1viRh2-0054GY-1S for pgsql-general@arkaria.postgresql.org; Wed, 21 Jan 2026 06:27:52 +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 1viRh2-0054GO-0B for pgsql-general@lists.postgresql.org; Wed, 21 Jan 2026 06:27:52 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1viRh0-001fMl-0x for pgsql-general@postgresql.org; Wed, 21 Jan 2026 06:27:52 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-b872f1c31f1so825153866b.0 for ; Tue, 20 Jan 2026 22:27:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1768976868; cv=none; d=google.com; s=arc-20240605; b=f2V3ZU9EIpIzTE/nm3HlfmBtcpgClEWmtEV5Q+6riRnKZ+0V8PhdatCAewQFNLt1Pg vV/IrSGUqYEOgkhP3M18sBipDm4oY35xr6lVAXZgJ5TG4vaRy8e3ySmtFhaWyhegJHkS 7pgJ3F3e+oL4z/mpqH/BAxi2XjT8gdJyUzft5xKxmdtuy7iRF6Q6XeAfN8DClJO44Xr9 fF5KjPiQzn/nbhEF12FClqvAZ6mfYqegzqdDLnvIvEnt3YVJ22/JXZsqgpztbW8cd/LB Qx//YkxSzDaKPWpsXHGVpUma9jpRNTDmm064v2g7eLHMEV+AkMShQtqgMAI/Q2rZ6deo DH7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=slGzzbsg+DRxocF8a3zxZRh+CV4l0w6cKdQFTnFnHRo=; fh=PhIHJn4XZmwdG+BPvG9JdvFa4i30srxOW6ICi9esmGc=; b=ON1BDOFDhR1dufSUrZrmnAfJ5I+7Vojw1JRnLjsK2cD4vYVz+LPkR2MWcV8CQ8e0w2 zgOGALZjoZKKlXLTlz+faxDihbuskT9egeHf7LCFgsMm0nWBgpvT4mf+FBW70rC+DKlM sknYsfDGXfBBi6nsb+Bk+4YhyDpCtlOn7V1Jijj1Z78yvJgeCjarbo5xpms3OCO4INmu tKnhfb/uyeTtaAGKMgfkUdv+dfHIktD7tyRd5AcJmZ224Xx5Ltgz4HDckXNZROcyfak8 zCJDu/E6zoV901xLzAiSGfkK0ygHxSUVJy+hQO0j3pRksgc4GlJbhYVt9VleiJT12cAQ xeWA==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768976868; x=1769581668; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=slGzzbsg+DRxocF8a3zxZRh+CV4l0w6cKdQFTnFnHRo=; b=cabY+Y3hAJzRxd6yAOr2D5g0FzQSOSw7P9d0xXXgG/asy22F1hP3B5zsrfuO7/iM7s Y43Ama0eTHsAyILXEJjXz0/MpRM7qtJoWhz/5/qx8BEHBu/L+ACgQn26wRpLwozCMha2 lorDHroEUy77s4DZ7hPmsD1QsrByfYYt31j/neeEpx1b1mXYn4CufU0/iwcfyURtTLUm A8wzjYY6ei3MB3AVQlhPrsXhlzflnhkJ04Jnc+iValLCrvgo54AWOYXDDQ5wchUlSS9Y 1bc9kzjWWcqadM5qlVgK9jao2/KheghqZUiwfR/zR89HpvPfG4s7fHtXaS0ca03TjFQz ddpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768976868; x=1769581668; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=slGzzbsg+DRxocF8a3zxZRh+CV4l0w6cKdQFTnFnHRo=; b=eWvtg5yb+SpSNUJVLouGZ7negqQ2fUvZGvQbhIqfxTcTMrZ/gI2YwGj8lroz+fkDk4 ln7sRQ8UD4ePsPlFbyKjKhPHk9wUWw/n09dbNzrvaFQEY2wlWf9tC9sR9Zzuz1PVAjHX rSWzrfeEhRuA0Dc6T236PUn/CU/b9fyv3/ypdSKTXbZhcp4eUD2smhgttIxNfmvljjw8 Axtae5Af2msSBBa8hl5GIoeFZhYU9RfadlNxQH6AiYUOFnSAc1xCVHWQh9PyxLBFaq8H SE6LE7COL48gCfv8OhR3g1zBwxYWSESWMMEYmgdtwr506GOzqozPVFQ705Khfwo4Fctp MLhA== X-Gm-Message-State: AOJu0YzI0gDK+2US/bLxXt9H3FvumLVrqcyOuzOdyygNa3rcOvjhA1rm efo/julDJtV/t+91AehgOg63Em+VdMyhG5DIXl+9viP1uW5AAhGgvcRcViBh55u1bRmrDC8vD8+ lMq0YRPJTHWGNtLHev/XnN848mJMPrguzuhQTs3Er+o2e X-Gm-Gg: AZuq6aJO/fTjH5rVEgy0v3DTJOW6TwSoH8NFLaYNwZo3zIJnvHZYfpyYh6Nyoavd/dZ i49Mmz4ny0/f6BbvhgQHhfdD2jRyd247/LHePOrV3aw4IB6iglI6YMLMCWQAMRdL4HRp/+6K4/w xmQaHHTFx2ImsdbtcjJui6W3zddBGkzJ4HjUs+22BGUVKSKSCaJdzuk04LqSa9Sq65XZKDN0JSf PZrRsimHYcRrvlOLMf48fpGY4RKveS8TfjHLZNhfNvKkBqn0CNBFEcIKrg= X-Received: by 2002:a17:907:961f:b0:b87:d722:f824 with SMTP id a640c23a62f3a-b88006ec2c4mr366740666b.63.1768976867827; Tue, 20 Jan 2026 22:27:47 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ManiR Date: Wed, 21 Jan 2026 11:57:36 +0530 X-Gm-Features: AZwV_QhdUh-MbhM1Lc1KGIyOMZsyKP1YGleo-2zGcuuQwoEov-2F8SXtYMD14LY Message-ID: Subject: Re: Request for cryptographic mechanisms used in PostgreSQL To: Nico Williams Cc: pgsql-general@postgresql.org Content-Type: multipart/alternative; boundary="000000000000d2a2dc0648e00579" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000d2a2dc0648e00579 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi All, Thank you for the responses and suggestions so far. We understand the suggestion to use an LLM as a starting point; however, for our compliance and audit requirements, we would like to ensure that the resulting CBOM is technically accurate and well-grounded in PostgreSQL=E2= =80=99s actual behavior. Could you please let us know: - whether there are any *existing sample CBOMs or similar cryptographic inventories* available for PostgreSQL (even informal or community-created ones), and - what would be the *recommended approach or steps* to identify and document PostgreSQL=E2=80=99s cryptographic mechanisms accurately. If anyone has previously undertaken a *similar exercise* (CBOM, crypto inventory, or security documentation) for PostgreSQL, any guidance, references, or documentation outlining the *process followed* would be greatly appreciated. Thank you again for your time and help. Regards, Manikandan R On Wed, Jan 21, 2026 at 1:34=E2=80=AFAM Nico Williams wrote: > On Tue, Jan 20, 2026 at 02:47:36PM +0530, ManiR wrote: > > We would like your guidance on the *cryptographic mechanisms used by > > PostgreSQL*, including: > > FYI this is the sort of thing where LLMs shine. I would start by asking > an LLM to write this and then I'd have expert humans review it. > > Keep in mind that some of the cryptographic mechanism/algorithm usage is > transitive via PostgreSQL's dependencies (e.g., SASL, GSS-API, TLS), but > you might not be interested in expanding that (since you might want to > do separate CBOMs for those. > > Keep in mind that some uses are not actually uses, like the PG crypto > extension, which makes cryptography available to PG _applications_. > > You should also look at options to _not_ use cryptographic mechanisms. > I.e., options to use cleartext protocols. Obviously it's much worse to > have a cleartext protocol than one that uses, say, 1DES, even though > 1DES is so weak as to be useles. Often auditors have a blind spot here. > > And it's important not to treat the presence of, say, MD5 as fatal when > it's not being used for security-critical purposes. > > IMO, > > Nico > -- > --000000000000d2a2dc0648e00579 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi All,

Thank you for the responses and suggestio= ns so far.

We understand the suggestion to use an LLM as a starting p= oint; however, for our compliance and audit requirements, we would like to = ensure that the resulting CBOM is technically accurate and well-grounded in= PostgreSQL=E2=80=99s actual behavior.

Could you please let us know:<= /p>

  • whether there are any existing sample CBOMs or simila= r cryptographic inventories available for PostgreSQL (even informa= l or community-created ones), and

  • what would be the = recommended approach or steps to identify and document PostgreSQL= =E2=80=99s cryptographic mechanisms accurately.

If anyone h= as previously undertaken a similar exercise (CBOM, crypto = inventory, or security documentation) for PostgreSQL, any guidance, referen= ces, or documentation outlining the process followed would= be greatly appreciated.

Thank you again for your time and help.

<= p>Regards,

Manikandan R



On Wed, Jan 21, = 2026 at 1:34=E2=80=AFAM Nico Williams <nico@cryptonector.com> wrote:
On Tue, Jan 20, 2026 at 02:47:36PM +0530, Mani= R wrote:
> We would like your guidance on the *cryptographic mechanisms used by > PostgreSQL*, including:

FYI this is the sort of thing where LLMs shine.=C2=A0 I would start by aski= ng
an LLM to write this and then I'd have expert humans review it.

Keep in mind that some of the cryptographic mechanism/algorithm usage is transitive via PostgreSQL's dependencies (e.g., SASL, GSS-API, TLS), bu= t
you might not be interested in expanding that (since you might want to
do separate CBOMs for those.

Keep in mind that some uses are not actually uses, like the PG crypto
extension, which makes cryptography available to PG _applications_.

You should also look at options to _not_ use cryptographic mechanisms.
I.e., options to use cleartext protocols.=C2=A0 Obviously it's much wor= se to
have a cleartext protocol than one that uses, say, 1DES, even though
1DES is so weak as to be useles.=C2=A0 Often auditors have a blind spot her= e.

And it's important not to treat the presence of, say, MD5 as fatal when=
it's not being used for security-critical purposes.

IMO,

Nico
--
--000000000000d2a2dc0648e00579--