Re: Re: Proposal for encrypting pg_shadow passwords - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Re: Proposal for encrypting pg_shadow passwords
Date
Msg-id Pine.LNX.4.30.0108152242130.677-100000@peter.localdomain
Whole thread Raw
In response to Re: Re: Proposal for encrypting pg_shadow passwords  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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@gmx.net   http://funkturm.homeip.net/~peter


pgsql-patches by date:

Previous
From: Fernando Nasser
Date:
Subject: Re: Fix for fetchone() and fetchmany() in Python interface
Next
From: Bruce Momjian
Date:
Subject: Re: Fix for fetchone() and fetchmany() in Python interface