git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b1e5c9f) | patch
pgcrypto: Allow tests to pass in OpenSSL FIPS mode
2023年11月17日 13:40:13 +0000 (14:40 +0100)
2023年11月17日 13:55:51 +0000 (14:55 +0100)
commit 795592865c96b58016a883ac6390c985f140918d
pgcrypto: Allow tests to pass in OpenSSL FIPS mode

This adds several alternative expected files for when MD5 and 3DES are
not available. This is similar to the alternative expected files for
when the legacy provider is disabled. In fact, running the pgcrypto
tests in FIPS mode makes use of some of these existing alternative
expected files as well (e.g., for blowfish).

These new expected files currently cover the FIPS mode provided by
OpenSSL 3.x as well as the modified OpenSSL 3.x from Red Hat (e.g.,
Fedora 38), but not the modified OpenSSL 1.x from Red Hat (e.g.,
Fedora 35). (The latter will have some error message wording
differences.)

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/dbbd927f-ef1f-c9a1-4ec6-c759778ac852%40enterprisedb.com
contrib/pgcrypto/expected/3des_1.out [new file with mode: 0644] blob
contrib/pgcrypto/expected/crypt-md5_1.out [new file with mode: 0644] blob
contrib/pgcrypto/expected/hmac-md5_1.out [new file with mode: 0644] blob
contrib/pgcrypto/expected/md5_1.out [new file with mode: 0644] blob
contrib/pgcrypto/expected/pgp-encrypt-md5_1.out [new file with mode: 0644] blob
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /