Re: MD5-based passwords

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Thomas O'Dowd" <tom(at)nooper(dot)com>
Cc: Jeremy Wohl <jeremyw-pgjdbc(at)igmus(dot)org>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: MD5-based passwords
Date: 2001-11-07 06:15:19
Message-ID: 200111070615.fA76FJH01760@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

> On Wed, Nov 07, 2001 at 12:27:53AM -0500, Bruce Momjian wrote:
> > > Hey folks,
> > >
> > > I don't see MD5-based password code in the JDBC CVS tree. Is anyone
> > > working on this?
> > >
> > > I'll take a stab, if not.
> >
> > There is no one working on it. ODBC needs it too. It wasn't on the
> > TODO list but I just added it.
> >
> > I can assist with any questions. See libpq for a sample implementation.
>
> Where are the MD5 passwords used by the driver? Sorry for my ignorance.
> Java has MD5 support in java.security.MessageDigest so it shouldn't
> be too hard...

See libpq/fe-auth.c for the libpq version of the MD5 communication with
the backend. md5.c has the actual md5 computations.

--
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-hackers by date

  From Date Subject
Next Message Turbo Fredriksson 2001-11-07 07:26:58 Re: Status of 7.2
Previous Message Thomas O'Dowd 2001-11-07 06:10:59 Re: MD5-based passwords

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kovács Péter 2001-11-07 07:56:59 Deleting records with text fields
Previous Message Thomas O'Dowd 2001-11-07 06:10:59 Re: MD5-based passwords