pgsql: Add alternative output for OpenSSL 3 without legacy loaded

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add alternative output for OpenSSL 3 without legacy loaded
Date: 2021-09-25 09:48:30
Message-ID: E1mU4II-0003Bm-7r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add alternative output for OpenSSL 3 without legacy loaded

OpenSSL 3 introduced the concept of providers to support modularization,
and moved the outdated ciphers to the new legacy provider. In case it's
not loaded in the users openssl.cnf file there will be a lot of regress
test failures, so add alternative outputs covering those.

Also document the need to load the legacy provider in order to use older
ciphers with OpenSSL-enabled pgcrypto.

This will be backpatched to all supported version once there is sufficient
testing in the buildfarm of OpenSSL 3.

Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/FEF81714-D479-4512-839B-C769D2605F8A@yesql.se
Backpatch-through: 9.6

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7b6ce36fbab522ced3860fa43fcb587efda29ac8

Modified Files
--------------
contrib/pgcrypto/expected/blowfish_1.out | 95 +++
contrib/pgcrypto/expected/cast5_1.out | 48 ++
contrib/pgcrypto/expected/des_1.out | 31 +
contrib/pgcrypto/expected/pgp-decrypt_1.out | 421 +++++++++++++
contrib/pgcrypto/expected/pgp-pubkey-decrypt_1.out | 652 +++++++++++++++++++++
doc/src/sgml/pgcrypto.sgml | 7 +
6 files changed, 1254 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2021-09-25 09:48:42 pgsql: Add alternative output for OpenSSL 3 without legacy loaded
Previous Message Daniel Gustafsson 2021-09-25 09:47:32 pgsql: Disable OpenSSL EVP digest padding in pgcrypto