pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Marko Tiikkaja <marko@joh.to>
Cc: connor.penhale@openlogic.com
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #11905: "Error: Wrong key or corrupt data" with pgp_sym_decrypt when bytea size is 2^x - 6 where x >=14
Date: Tue, 11 Nov 2014 17:23:49 -0500
Message-ID: <18313.1415744629@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMkU=1yA1rMhmfMvZ5e6pKCR1TCWF6Jd5XeeWz5aEcg+AL7PPg@mail.gmail.com>
References: <20141107215638.2527.18189@wrigleys.postgresql.org>
	<CAMkU=1ykOR3A4vOBiuYTKYvB0o9bg9j5r_txNUcLwQKTBQwFrw@mail.gmail.com>
	<54625148.2060105@joh.to>
	<CAMkU=1yA1rMhmfMvZ5e6pKCR1TCWF6Jd5XeeWz5aEcg+AL7PPg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Jeff Janes <jeff.janes@gmail.com> writes:
> On Tue, Nov 11, 2014 at 10:11 AM, Marko Tiikkaja <marko@joh.to> wrote:
>> This sounds a lot like another bug I've seen.  Can you try this patch?

> That fixes it.  I've tested all lengths from 1 to 133,000
> I've added a regression test to it, in the attached.

Pushed.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (6+ messages)

Message-ID: <18313.1415744629@sss.pgh.pa.us>
Permalink:  ../18313.1415744629@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18313.1415744629@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jeff.janes@gmail.com, marko@joh.to, connor.penhale@openlogic.com
  Subject: Re: BUG #11905: "Error: Wrong key or corrupt data" with pgp_sym_decrypt when bytea size is 2^x - 6 where x >=14
  In-Reply-To: <18313.1415744629@sss.pgh.pa.us>
  References: <20141107215638.2527.18189@wrigleys.postgresql.org> <CAMkU=1ykOR3A4vOBiuYTKYvB0o9bg9j5r_txNUcLwQKTBQwFrw@mail.gmail.com> <54625148.2060105@joh.to> <CAMkU=1yA1rMhmfMvZ5e6pKCR1TCWF6Jd5XeeWz5aEcg+AL7PPg@mail.gmail.com> <18313.1415744629@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox