pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Disable OpenSSL EVP digest padding in pgcrypto 6+ messages / 1 participants [nested] [flat]
* pgsql: Disable OpenSSL EVP digest padding in pgcrypto @ 2021-08-10 13:23 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Daniel Gustafsson @ 2021-08-10 13:23 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disable OpenSSL EVP digest padding in pgcrypto The PX layer in pgcrypto is handling digest padding on its own uniformly for all backend implementations. Starting with OpenSSL 3.0.0, DecryptUpdate doesn't flush the last block in case padding is enabled so explicitly disable it as we don't use it. This will be backpatched to all supported version once there is sufficient testing in the buildfarm of OpenSSL 3. Reviewed-by: Peter Eisentraut, Michael Paquier Discussion: https://postgr.es/m/FEF81714-D479-4512-839B-C769D2605F8A@yesql.se Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/318df802355924015d4d8f21859bc0ef7a348970 Modified Files -------------- contrib/pgcrypto/openssl.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Disable OpenSSL EVP digest padding in pgcrypto @ 2021-09-25 09:46 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Daniel Gustafsson @ 2021-09-25 09:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disable OpenSSL EVP digest padding in pgcrypto The PX layer in pgcrypto is handling digest padding on its own uniformly for all backend implementations. Starting with OpenSSL 3.0.0, DecryptUpdate doesn't flush the last block in case padding is enabled so explicitly disable it as we don't use it. This will be backpatched to all supported version once there is sufficient testing in the buildfarm of OpenSSL 3. Reviewed-by: Peter Eisentraut, Michael Paquier Discussion: https://postgr.es/m/FEF81714-D479-4512-839B-C769D2605F8A@yesql.se Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4fa2b15e1c9cae79afe17c14591074111b0d4093 Modified Files -------------- contrib/pgcrypto/openssl.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Disable OpenSSL EVP digest padding in pgcrypto @ 2021-09-25 09:47 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Daniel Gustafsson @ 2021-09-25 09:47 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disable OpenSSL EVP digest padding in pgcrypto The PX layer in pgcrypto is handling digest padding on its own uniformly for all backend implementations. Starting with OpenSSL 3.0.0, DecryptUpdate doesn't flush the last block in case padding is enabled so explicitly disable it as we don't use it. This will be backpatched to all supported version once there is sufficient testing in the buildfarm of OpenSSL 3. Reviewed-by: Peter Eisentraut, Michael Paquier Discussion: https://postgr.es/m/FEF81714-D479-4512-839B-C769D2605F8A@yesql.se Backpatch-through: 9.6 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/135d8687adf12a0d4cd7c94d1095ed5a7a08f7ed Modified Files -------------- contrib/pgcrypto/openssl.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Disable OpenSSL EVP digest padding in pgcrypto @ 2021-09-25 09:48 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Daniel Gustafsson @ 2021-09-25 09:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disable OpenSSL EVP digest padding in pgcrypto The PX layer in pgcrypto is handling digest padding on its own uniformly for all backend implementations. Starting with OpenSSL 3.0.0, DecryptUpdate doesn't flush the last block in case padding is enabled so explicitly disable it as we don't use it. This will be backpatched to all supported version once there is sufficient testing in the buildfarm of OpenSSL 3. Reviewed-by: Peter Eisentraut, 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/00c72da4a22d9883b1e511ff140bd47cc75d536d Modified Files -------------- contrib/pgcrypto/openssl.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Disable OpenSSL EVP digest padding in pgcrypto @ 2021-09-25 09:48 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Daniel Gustafsson @ 2021-09-25 09:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disable OpenSSL EVP digest padding in pgcrypto The PX layer in pgcrypto is handling digest padding on its own uniformly for all backend implementations. Starting with OpenSSL 3.0.0, DecryptUpdate doesn't flush the last block in case padding is enabled so explicitly disable it as we don't use it. This will be backpatched to all supported version once there is sufficient testing in the buildfarm of OpenSSL 3. Reviewed-by: Peter Eisentraut, Michael Paquier Discussion: https://postgr.es/m/FEF81714-D479-4512-839B-C769D2605F8A@yesql.se Backpatch-through: 9.6 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/11901cd9628bf4e3b26d9aba21e6287f2cde3a8a Modified Files -------------- contrib/pgcrypto/openssl.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Disable OpenSSL EVP digest padding in pgcrypto @ 2021-09-25 09:49 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Daniel Gustafsson @ 2021-09-25 09:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Disable OpenSSL EVP digest padding in pgcrypto The PX layer in pgcrypto is handling digest padding on its own uniformly for all backend implementations. Starting with OpenSSL 3.0.0, DecryptUpdate doesn't flush the last block in case padding is enabled so explicitly disable it as we don't use it. This will be backpatched to all supported version once there is sufficient testing in the buildfarm of OpenSSL 3. Reviewed-by: Peter Eisentraut, Michael Paquier Discussion: https://postgr.es/m/FEF81714-D479-4512-839B-C769D2605F8A@yesql.se Backpatch-through: 9.6 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e802b594e7946d7fea9302f2231943c36255e084 Modified Files -------------- contrib/pgcrypto/openssl.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2021-09-25 09:49 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-08-10 13:23 pgsql: Disable OpenSSL EVP digest padding in pgcrypto Daniel Gustafsson <dgustafsson@postgresql.org> 2021-09-25 09:46 pgsql: Disable OpenSSL EVP digest padding in pgcrypto Daniel Gustafsson <dgustafsson@postgresql.org> 2021-09-25 09:47 pgsql: Disable OpenSSL EVP digest padding in pgcrypto Daniel Gustafsson <dgustafsson@postgresql.org> 2021-09-25 09:48 pgsql: Disable OpenSSL EVP digest padding in pgcrypto Daniel Gustafsson <dgustafsson@postgresql.org> 2021-09-25 09:48 pgsql: Disable OpenSSL EVP digest padding in pgcrypto Daniel Gustafsson <dgustafsson@postgresql.org> 2021-09-25 09:49 pgsql: Disable OpenSSL EVP digest padding in pgcrypto Daniel Gustafsson <dgustafsson@postgresql.org>
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