Re: Programming interfaces when using MD5 authentication

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Preston de Guise <preston(at)anywebdb(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Programming interfaces when using MD5 authentication
Date: 2009-10-02 13:47:51
Message-ID: 17289.1254491271@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Preston de Guise <preston(at)anywebdb(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2009-10-02 14:10:17 Re: Procedure for feature requests?
Previous Message Dave Page 2009-10-02 13:44:59 Re: PGDay.EU 2009 - Call for lighting talks