Re: [PATCH] pgcrypto: pgp_encrypt (v2)

From: Marko Kreen <marko(at)l-t(dot)ee>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCH] pgcrypto: pgp_encrypt (v2)
Date: 2005-07-04 11:15:33
Message-ID: 20050704111533.GB32159@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Mon, Jul 04, 2005 at 04:59:58PM +1000, Neil Conway wrote:
> Marko Kreen wrote:
> >Please use following updated patch instead.
> >
> >It implements utf8 conversion, fixes couple of bugs and has
> >many code and comment cleanups.
>
> The regression tests don't pass on my box. With the default Makefile,
> there are a lot of errors WRT "no strong random source". After editing
> the Makefile to make use the "random" device, I get the attached
> regression.diffs.

I don't understand the regression of the dashes in armor test,
kinda seems you have different psql than in CVS.

But for the regression with 'random = dev', I'd say you did not
do 'make clean' after changing Makefile. It only changes flags
to random.c, so if you have existing random.o, it wont be
recompiled.

> While I understand the need to make sure people use a reasonably strong
> crypto source, it would be nice if the regression tests passed out of
> the box.

Look for the 'pgp_encrypt v3' mail I sent. There I use special
empty tests for disabled functionality, that succeed, but
hopefully show user through naming that the functionality
is missing.

--
marko

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2005-07-04 11:26:54 Re: PATCH to allow concurrent VACUUMs to not lock each
Previous Message Marko Kreen 2005-07-04 11:07:46 Re: [PATCH] pgcrypto: pgp_encrypt v3

Browse pgsql-patches by date

  From Date Subject
Next Message Hannu Krosing 2005-07-04 11:26:54 Re: PATCH to allow concurrent VACUUMs to not lock each
Previous Message Marko Kreen 2005-07-04 11:07:46 Re: [PATCH] pgcrypto: pgp_encrypt v3