Re: Re: Proposal for encrypting pg_shadow passwords

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Re: Proposal for encrypting pg_shadow passwords
Date: 2001-08-15 20:43:39
Message-ID: Pine.LNX.4.30.0108152242130.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-patches

Bruce Momjian writes:

> > Bruce Momjian writes:
> >
> > > Attached please find:
> > >
> > > the original proposal to encrypt pg_shadow
> > > a diff of the current CVS
> > > two new files (backend/libpq/md5.c and include/libpq/md5.h)
> > > which implement MD5 encryption (from Vince with cleanups)
> >
> > I also see that the md5.c implementation does not use palloc and makes the
> > rather odd assumption that long int == unsigned64.
>
> That is from Vince's code, I think. Can you suggest a fix?

Remove that code and use contrib/pgcrypto/md5.{c.h}. And move the .h file
to the include tree.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-08-15 20:46:45 Re: Re: Proposal for encrypting pg_shadow passwords
Previous Message Bruce Momjian 2001-08-15 20:38:32 Re: Re: Proposal for encrypting pg_shadow passwords