pgcrypto: Add function to check FIPS mode
Daniel Gustafsson <dgustafsson@postgresql.org>
pgcrypto: Add function to check FIPS mode This adds a SQL callable function for reading and returning the status of FIPS configuration of OpenSSL. If OpenSSL is operating with FIPS enabled it will return true, otherwise false. As this adds a function to the SQL file, bump the extension version to 1.4. Author: Daniel Gustafsson <daniel@yesql.se> Reviewed-by: Joe Conway <mail@joeconway.com> Discussion: https://postgr.es/m/8f979145-e206-475a-a31b-73c977a4134c@joeconway.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgcrypto/Makefile | modified | +1 −1 |
| contrib/pgcrypto/meson.build | modified | +1 −0 |
| contrib/pgcrypto/openssl.c | modified | +27 −0 |
| contrib/pgcrypto/pgcrypto--1.3--1.4.sql | added | +9 −0 |
| contrib/pgcrypto/pgcrypto.c | modified | +8 −0 |
| contrib/pgcrypto/pgcrypto.control | modified | +1 −1 |
| contrib/pgcrypto/px.h | modified | +2 −0 |
| doc/src/sgml/pgcrypto.sgml | modified | +16 −0 |
Documentation touched
Discussion
- Replace current implementations in crypt() and gen_salt() to OpenSSL 75 messages · 2024-02-15 → 2025-01-24