[HACKERS] FIPS mode? - Mailing list pgsql-hackers

From Curtis Ruck
Subject [HACKERS] FIPS mode?
Date
Msg-id CAFgGLFeuFrpT=kR2M-N91QyroO-Refzc=OKd2pqFa5xnaJbjVA@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] FIPS mode?  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
I've got a requirement for enabling FIPS support in our environment.  Looking at postgresql's be-secure-openssl.c and mucking with it, it seems fairly straight forward to just add a few ifdefs and enable fips with a new configure flag and a new postgresql.conf configuration setting.

If I clean this up some, maintain styleguide, what is the likely hood of getting this included in the redhat packages, since redhat ships a certified FIPS implementation?

For what its worth, I've got the FIPS_mode_set(1) working and postgresql seems to function properly.  I'd just like to see this in upstream so I don't end up maintaining a long-lived branch.

Looking at scope, logically it seems mostly confined to libpq, and be-secure-openssl.c, though i'd expect pgcrypto to be affected.

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Broken hint bits (freeze)
Next
From: Thomas Munro
Date:
Subject: Re: [HACKERS] Causal reads take II