Re: Programming interfaces when using MD5 authentication - Mailing list pgsql-general

From Tom Lane
Subject Re: Programming interfaces when using MD5 authentication
Date
Msg-id 17289.1254491271@sss.pgh.pa.us
Whole thread Raw
In response to Programming interfaces when using MD5 authentication  (Preston de Guise <preston@anywebdb.com>)
Responses Re: Programming interfaces when using MD5 authentication
List pgsql-general
Preston de Guise <preston@anywebdb.com> writes:
> Using Perl to program interfaces to PostgreSQL, and had previously
> misunderstood how md5 password authentication worked, so I'm now re-
> doing it, but struggling to find out how DBD::Pg might be used to
> actually authenticate by passing an md5 of the password instead of the
> real thing.

You should always pass the cleartext password.  Any md5-ification will
be done by the low-level driver.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Adding modified and creation datetime to system catalogs
Next
From: Sam Mason
Date:
Subject: Re: Procedure for feature requests?