Re: MD5-based passwords - Mailing list pgsql-jdbc

From Bruce Momjian
Subject Re: MD5-based passwords
Date
Msg-id 200111070615.fA76FJH01760@candle.pha.pa.us
Whole thread Raw
In response to MD5-based passwords  (Jeremy Wohl <jeremyw-pgjdbc@igmus.org>)
List 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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-jdbc by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: MD5-based passwords
Next
From: "Thomas O'Dowd"
Date:
Subject: Re: MD5-based passwords