From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: pgcrypto: Add function to check FIPS mode |
Date: | 2025-01-24 13:28:20 |
Message-ID: | E1tbJjQ-003HPk-3e@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)yesql(dot)se>
Reviewed-by: Joe Conway <mail(at)joeconway(dot)com>
Discussion: https://postgr.es/m/8f979145-e206-475a-a31b-73c977a4134c@joeconway.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/924d89a354750976cdd271d1dfc6c1e97cbb8851
Modified Files
--------------
contrib/pgcrypto/Makefile | 2 +-
contrib/pgcrypto/meson.build | 1 +
contrib/pgcrypto/openssl.c | 27 +++++++++++++++++++++++++++
contrib/pgcrypto/pgcrypto--1.3--1.4.sql | 9 +++++++++
contrib/pgcrypto/pgcrypto.c | 8 ++++++++
contrib/pgcrypto/pgcrypto.control | 2 +-
contrib/pgcrypto/px.h | 2 ++
doc/src/sgml/pgcrypto.sgml | 16 ++++++++++++++++
8 files changed, 65 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2025-01-24 16:46:09 | pgsql: Fix copy-and-paste typo |
Previous Message | Álvaro Herrera | 2025-01-24 12:18:05 | pgsql: Fix instability in recently added regression tests |