]> 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:31 +0000 (12:18 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 16 Feb 2026 03:18:31 +0000 (12:18 +0900)
commit7eb4bdfa42ba96b749414cbc6d334b95de85c322
tree41c9af3524c4cfa2f573a3a6f20dcfba35482e5d
parentbdfb372280bc507239a02c0a060f0f51ebd41fa1
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