Re: Programming interfaces when using MD5 authentication

From: Preston de Guise <preston(at)anywebdb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Programming interfaces when using MD5 authentication
Date: 2009-10-05 23:02:12
Message-ID: 8503714C-AAD3-403F-B564-F37983D1F660@anywebdb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 02/10/2009, at 23:47 , Tom Lane wrote:

> 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.

Thanks for the clarification Tom.

Cheers,

Preston.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Preston de Guise 2009-10-05 23:09:41 Documentation on standard conforming strings?
Previous Message Steve Atkins 2009-10-05 22:52:36 Re: Limiting the impact of schema additions/poor queries made by clients on production machines