Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread 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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group