pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Cc: dpage@postgresql.org
Subject: Re: pgsql: Use OpenSSL EVP API for symmetric encryption in pgcrypto.
Date: Tue, 18 Oct 2016 11:10:07 +0300
Message-ID: <6207afd5-caa5-9444-c143-e2643a66afef@iki.fi> (raw)
In-Reply-To: <23007.1476739698@sss.pgh.pa.us>
References: <E1bw8vE-0001Rf-WD@gemulon.postgresql.org>
	<23007.1476739698@sss.pgh.pa.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 10/18/2016 12:28 AM, Tom Lane wrote:
> Heikki Linnakangas <heikki.linnakangas@iki.fi> writes:
>> Use OpenSSL EVP API for symmetric encryption in pgcrypto.
>
> BTW, "narwhal" seems to have a problem with this.
> Not very clear what, maybe an incompatibility with old openssl versions?

Dave, what version of OpenSSL are 'narwhal' and 'baiji' using? I've 
tried to reproduce this on my laptop, by compiling different versions of 
OpenSSL, between 0.9.8beta1 and 0.9.8 head, but without success..

Googling for the failed test vector, I found this:

https://www.mail-archive.com/openssl-users@openssl.org/msg68108.html

It looks like the same issue, given the symptoms, but AFAICS the 
pgcrypto code is correctly calling EVP_EncryptInit_ex() twice.

- Heikki



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



view thread (26+ messages)  latest in thread

Message-ID: <6207afd5-caa5-9444-c143-e2643a66afef@iki.fi>
Permalink:  ../6207afd5-caa5-9444-c143-e2643a66afef@iki.fi/
Also on:    postgresql.org/message-id/6207afd5-caa5-9444-c143-e2643a66afef@iki.fi

 · 

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-committers@postgresql.org
  Cc: hlinnaka@iki.fi, tgl@sss.pgh.pa.us, dpage@postgresql.org
  Subject: Re: pgsql: Use OpenSSL EVP API for symmetric encryption in pgcrypto.
  In-Reply-To: <6207afd5-caa5-9444-c143-e2643a66afef@iki.fi>
  References: <E1bw8vE-0001Rf-WD@gemulon.postgresql.org> <23007.1476739698@sss.pgh.pa.us> <6207afd5-caa5-9444-c143-e2643a66afef@iki.fi>

* 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