agora inbox for pgsql-general@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: sutyak <sutyak@proton.me>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PostgreSQL 18 FIPS mode in Windows
Date: Thu, 24 Sep 2026 16:13:21 -0400
Message-ID: <1814989.1790280801@sss.pgh.pa.us> (raw)
In-Reply-To: <13DyT-dt7PRebAXIz_sNbi_b620YX_uKUa-PhyJeyx2wAEV_R-ECdopU7jCioVHbhQx_oG-Ne18GP2CJEnVYRLsvMenSM5QN23gssgsYuoU=@proton.me>
References: <13DyT-dt7PRebAXIz_sNbi_b620YX_uKUa-PhyJeyx2wAEV_R-ECdopU7jCioVHbhQx_oG-Ne18GP2CJEnVYRLsvMenSM5QN23gssgsYuoU=@proton.me>

sutyak <sutyak@proton.me> writes:
> The steps I have already taken are:

> - Install PostgreSQL 18.6 windows-x64
> - Install OpenSSL 3.5.8 with FIPS Provider 3.1.2
> - Enable pgcrypto extension via pgAdmin
> - set builtin_crypto_enabled to 'fips'
> - Executing SELECT fips_mode(); always returns false.
> - Verified FIPS is not being enforced by executing SELECT encode(digest('test', 'md5'), 'hex'); and it always returns a value.

> What am I missing? Thank you,

'builtin_crypto_enabled = fips' merely tells pgcrypto to expect
failure of relevant calls.  It does not cause OpenSSL to actually
go into FIPS mode.  You'd have to consult the OpenSSL docs to
find out how to do that.

			regards, tom lane





view thread (9+ messages)  latest in thread

Message-ID: <1814989.1790280801@sss.pgh.pa.us>
Permalink:  ../1814989.1790280801@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1814989.1790280801@sss.pgh.pa.us

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sutyak@proton.me, pgsql-general@lists.postgresql.org
  Subject: Re: PostgreSQL 18 FIPS mode in Windows
  In-Reply-To: <1814989.1790280801@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox