Re: Replace current implementations in crypt() and gen_salt() to OpenSSL
Joe Conway <mail@joeconway.com>
From: Joe Conway <mail@joeconway.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Peter Eisentraut <peter@eisentraut.org>,
Robert Haas <robertmhaas@gmail.com>,
"Koshi Shibagaki (Fujitsu)" <shibagaki.koshi@fujitsu.com>,
"pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2024-11-21T19:11:24Z
Lists: pgsql-hackers
On 11/20/24 12:14, Daniel Gustafsson wrote: >> On 19 Nov 2024, at 18:30, Joe Conway <mail@joeconway.com> wrote: > >> Any other opinions out there? > > Couldn't installations who would be satisfied with a GUC gate revoke privileges > from the relevant functions already today and achieve almost the same result? I think that would qualify as a "mitigation" but not "FIPS compliant". When the OS is made FIPS compliant, for example, you run something on the command line and then you need to reboot (RHEL at least). I believe that is considered configuration for FIPS. A postmaster GUC (requiring restart) would be a way to configure Postgres to eliminate these two non-FIPS functions that could not be undone without another restart (similar to the OS example above). -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
pgcrypto: Make it possible to disable built-in crypto
- 035f99cbebe5 18.0 landed
-
pgcrypto: Add function to check FIPS mode
- 924d89a35475 18.0 landed
-
citext: Allow tests to pass in OpenSSL FIPS mode
- 3c551ebede46 17.0 cited
-
pgcrypto: Remove non-OpenSSL support
- db7d1a7b0530 15.0 cited