postgresql/contrib/pgcrypto/expected
Noah Misch b84e5c017c pgcrypto: Report errant decryption as "Wrong key or corrupt data".
This has been the predominant outcome.  When the output of decrypting
with a wrong key coincidentally resembled an OpenPGP packet header,
pgcrypto could instead report "Corrupt data", "Not text data" or
"Unsupported compression algorithm".  The distinct "Corrupt data"
message added no value.  The latter two error messages misled when the
decrypted payload also exhibited fundamental integrity problems.  Worse,
error message variance in other systems has enabled cryptologic attacks;
see RFC 4880 section "14. Security Considerations".  Whether these
pgcrypto behaviors are likewise exploitable is unknown.

In passing, document that pgcrypto does not resist side-channel attacks.
Back-patch to 9.0 (all supported versions).

Security: CVE-2015-3167
2015-05-18 10:02:39 -04:00
..
3des.out Fix some more regression tests (missed these because they're only 2009-08-04 20:10:00 +00:00
blowfish.out Ooops, missed that a couple of contrib modules have calls to byteacmp. 2009-08-04 18:49:50 +00:00
cast5.out Fix some more regression tests (missed these because they're only 2009-08-04 20:10:00 +00:00
crypt-blowfish.out Improve psql's tabular display of wrapped-around data by inserting markers 2009-11-22 05:20:41 +00:00
crypt-des.out SET autocommit no longer needed in /contrib because pg_regress.sh does 2002-10-21 01:42:14 +00:00
crypt-md5.out SET autocommit no longer needed in /contrib because pg_regress.sh does 2002-10-21 01:42:14 +00:00
crypt-xdes.out SET autocommit no longer needed in /contrib because pg_regress.sh does 2002-10-21 01:42:14 +00:00
des.out Fix some more regression tests (missed these because they're only 2009-08-04 20:10:00 +00:00
hmac-md5.out SET autocommit no longer needed in /contrib because pg_regress.sh does 2002-10-21 01:42:14 +00:00
hmac-sha1.out SET autocommit no longer needed in /contrib because pg_regress.sh does 2002-10-21 01:42:14 +00:00
init.out Ooops, missed that a couple of contrib modules have calls to byteacmp. 2009-08-04 18:49:50 +00:00
md5.out SET autocommit no longer needed in /contrib because pg_regress.sh does 2002-10-21 01:42:14 +00:00
pgp-armor.out Improve psql's tabular display of wrapped-around data by inserting markers 2009-11-22 05:20:41 +00:00
pgp-compression.out Add missing pgcrypto files from previous commit. 2005-07-10 13:46:29 +00:00
pgp-decrypt.out pgcrypto: Report errant decryption as "Wrong key or corrupt data". 2015-05-18 10:02:39 -04:00
pgp-encrypt-DISABLED.out Add missing pgcrypto files from previous commit. 2005-07-10 13:46:29 +00:00
pgp-encrypt.out Ooops, missed that a couple of contrib modules have calls to byteacmp. 2009-08-04 18:49:50 +00:00
pgp-info.out Fix buffer overrun after incomplete read in pullf_read_max(). 2015-02-02 10:00:52 -05:00
pgp-pubkey-decrypt.out pgcrypto: Report errant decryption as "Wrong key or corrupt data". 2015-05-18 10:02:39 -04:00
pgp-pubkey-DISABLED.out Add missing pgcrypto files from previous commit. 2005-07-10 13:46:29 +00:00
pgp-pubkey-encrypt.out Ooops, missed that a couple of contrib modules have calls to byteacmp. 2009-08-04 18:49:50 +00:00
pgp-zlib-DISABLED.out Add missing pgcrypto files from previous commit. 2005-07-10 13:46:29 +00:00
rijndael.out Ooops, missed that a couple of contrib modules have calls to byteacmp. 2009-08-04 18:49:50 +00:00
sha1.out SET autocommit no longer needed in /contrib because pg_regress.sh does 2002-10-21 01:42:14 +00:00
sha2.out "Annual" pgcrypto update from Marko Kreen: 2006-07-13 04:15:25 +00:00