]> 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:30 +0000 (12:18 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 16 Feb 2026 03:18:30 +0000 (12:18 +0900)
commit74b993a000f390afc4a27e08f365d14812df8d4f
tree23de92fc081671f63b46e331674d959d86212ed1
parent5d5232bc38d36a30b569396f15e5a22cd6ee529b
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