Re: PQconnectdbParams and encrypted password - Mailing list pgsql-interfaces

From Dmitry Markman
Subject Re: PQconnectdbParams and encrypted password
Date
Msg-id AEFA959F-25B1-4550-94C2-27516C062931@mac.com
Whole thread Raw
In response to Re: PQconnectdbParams and encrypted password  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
Hi Tom

thanks a lot for your answer

I realized it almost immediately after I press the button send :)

thanks again

 dm


> On Aug 30, 2019, at 9:50 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Dmitry Markman <dmarkman@mac.com> writes:
>> I need some help with setting PQconnectdbParams key/value for encrypted password
>> suppose I created user with the string
>> create user foobar with encrypted password ‘md5f3c33545d22dbf811737afb8d0e85597’
>> ...
>>                {"password", ??????????????},//I’d like to have here “md5f3c33545d22dbf811737afb8d0e85597”, but it
doesn’twork 
>
> Pretty much the entire *point* of an encrypted password is that the
> md5 hash is not sufficient to log in with.  You need the original
> string.
>
>             regards, tom lane




pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: PQconnectdbParams and encrypted password
Next
From: Malcolm Matalka
Date:
Subject: Object IDs in Parse message