Re: libpq / crypt / md5 question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mitch Vincent <mitch(at)doot(dot)org>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq / crypt / md5 question
Date: 2002-11-29 18:42:57
Message-ID: 27854.1038595377@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Mitch Vincent <mitch(at)doot(dot)org> writes:
> On the client side, am I responsible for making the password an MD5
> hash, or does libpq take care of that on it's own?

libpq does it. This is necessary, since the client shouldn't be
expected to know which way the password is to be encrypted on the wire.
The password given to libpq must always be cleartext.

> It seems that courier can only connect to the PG database when the auth
> type is set to crypt in the pg_hba.conf file. This is somewhat strange

I suspect it means that courier is linked to an old version of libpq.

regards, tom lane

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Mitch Vincent 2002-11-29 19:11:54 Re: libpq / crypt / md5 question
Previous Message Mitch Vincent 2002-11-29 17:57:19 libpq / crypt / md5 question