Re: BUG #19335: the function encrypt does not work correct - ERROR: encrypt error: Key was too big - Mailing list pgsql-bugs

From Daniel Gustafsson
Subject Re: BUG #19335: the function encrypt does not work correct - ERROR: encrypt error: Key was too big
Date
Msg-id 63A51D21-55E1-4F78-84EB-D5FF03D5FE37@yesql.se
Whole thread Raw
In response to BUG #19335: the function encrypt does not work correct - ERROR: encrypt error: Key was too big  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
> On 1 Dec 2025, at 07:54, marco.lebahn@kfw.de wrote:
> 
> Hi Tom, hi Daniel,
> 
> many thanks for your help.
> 
> That's the point
> 
> with 16.10
> 
> ldd /usr/pgsql-16/lib/pgcrypto.so
> [...]
>        libcrypto.so.1.1 => /usr/lib64/libcrypto.so.1.1 (0x00007f9337e00000)
> [...]
> ~> rpm -qf /usr/lib64/libcrypto.so.1.1
> libopenssl1_1-1.1.1w-150700.11.6.1.x86_64
> 
> 
> with 16.11
> 
> ldd /usr/pgsql-16/lib/pgcrypto.so
> [...]
>        libcrypto.so.3 => /usr/lib64/libcrypto.so.3 (0x00007ff33a400000)
> [...]
> ~> rpm -qf /usr/lib64/libcrypto.so.3
> libopenssl3-3.2.3-150700.5.21.1.x86_64
> 
> that's the trigger

Your surprise is quite warranted, that's an unconventional change in a minor
revision of a package.

> uncomment legacy in opensslconfig + restart  = it works.

Thanks for confirming, I'm glad we could help.

> Be that as it may, we will avoid legacy in the future.

There is that, at least you are now using a non-EOL version of OpenSSL, which
is a silverlining here.

--
Daniel Gustafsson




pgsql-bugs by date:

Previous
From: VASUKI M
Date:
Subject: Re: BUG #19095: Test if function exit() is used fail when linked static
Next
From: PG Bug reporting form
Date:
Subject: BUG #19338: [PG15] Unstable SQL result in test regress/tablespace