On 02/05/2015 02:15 PM, Jan Wieck wrote:
On 02/05/2015 01:18 PM, Marko Tiikkaja wrote:

      "pgcrypto bug"

That doesn't look too good, but I can't reproduce it against 9.3.6 either.

Attached is an improved script and the final output from it. I ran it over night and it did not reproduce the pgcrypto bug message, but instead the expected "Corrupt data" plus one, that I haven't seen before which is "Unsupported compression algorithm".


Jan

--
Jan Wieck
Senior Software Engineer
http://slony.info

Attachment: pgcrypto_test2.sh
Description: application/shellscript

select * from pgp_test2 order by 1;
 id |                                                                          
vdata                                                                           
|  vkey   |                  verrmsg                  
----+----------------------------------------------------------------------------------------------------------------------------------------------------------+---------+-------------------------------------------
  1 | 
\xc30d040703027123de71fa32937175d23a01cc0377628c3b58119e4c8e51804b74cccf961c8b500b8a283db7084ed809833f9bfd7827b70cf06aa0254707e1c08b3db8419e6e2eda697637
 | key_1   | ERROR:  Wrong key or corrupt data
  2 | 
\xc30d040703027123de71fa32937175d23a01cc0377628c3b58119e4c8e51804b74cccf961c8b500b8a283db7084ed809833f9bfd7827b70cf06aa0254707e1c08b3db8419e6e2eda697637
 | key_686 | ERROR:  Not text data
  3 | 
\xc30d04070302b9688f5b4b1db6bb77d23a01ee1cad33770344503c564496fb6463d9b11a30013424fcae8b80cfbafba415ba3c7047aec7499b8e74254069b29390990c0f2a34740a7d2085
 | key_972 | ERROR:  Unsupported compression algorithm
  4 | 
\xc30d04070302c011ec7879402f4178d23a0165d2462bb4e6a7a204f8af20fc0cfadfc72f6a55902f013479697f316659bbc028ddfe624578e462aee3279b65f3e66f0993305d378ae35593
 | key_816 | ERROR:  Corrupt data
(4 rows)
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to