pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgcrypto: Add function to check FIPS mode
Date: Fri, 24 Jan 2025 13:28:20 +0000
Message-ID: <E1tbJjQ-003HPk-3e@gemulon.postgresql.org> (raw)

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

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(-)



Message-ID: <E1tbJjQ-003HPk-3e@gemulon.postgresql.org>
Permalink:  ../E1tbJjQ-003HPk-3e@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tbJjQ-003HPk-3e@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pgcrypto: Add function to check FIPS mode
  In-Reply-To: <E1tbJjQ-003HPk-3e@gemulon.postgresql.org>

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

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