Re: Re: Proposal for encrypting pg_shadow passwords

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Re: Proposal for encrypting pg_shadow passwords
Date: 2001-08-15 20:46:45
Message-ID: 200108152046.f7FKkju25824@candle.pha.pa.us
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.

So you like the pgcrypto stuff better. That's fine. I can't figure out
how to get that code to work in the existing md5.c. The good thing is
that it is all in md5.c. Can someone help?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Fernando Nasser 2001-08-15 20:53:50 Re: Fix for fetchone() and fetchmany() in Python interface
Previous Message Peter Eisentraut 2001-08-15 20:43:39 Re: Re: Proposal for encrypting pg_shadow passwords