]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pgcrypto: Tweak error message for incorrect session key length
authorMichael Paquier <michael@paquier.xyz>
Mon, 16 Feb 2026 03:18:18 +0000 (12:18 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 16 Feb 2026 03:18:18 +0000 (12:18 +0900)
commit459576303dfb47d5b9626331df1f8e8767840ede
tree967ca2c52fb97c91796132c619587da452bd1d4f
parent9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125
pgcrypto: Tweak error message for incorrect session key length

The error message added in 379695d3cc70 referred to the public key being
too long.  This is confusing as it is in fact the session key included
in a PGP message which is too long.  This is harmless, but let's be
precise about what is wrong.

Per offline report.

Reported-by: Zsolt Parragi <zsolt.parragi@percona.com>
Backpatch-through: 14
contrib/pgcrypto/expected/pgp-pubkey-session.out
contrib/pgcrypto/px.c