Re: scram and \password - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: scram and \password
Date
Msg-id dead641a-1fc8-0fd7-89d6-b818ac61b31a@iki.fi
Whole thread Raw
In response to [HACKERS] scram and \password  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: scram and \password  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 03/24/2017 03:02 PM, Michael Paquier wrote:
> In order to close this thread, I propose to reuse the patches I sent
> here to make scram_build_verifier() available to frontends:
> https://www.postgresql.org/message-id/CAB7nPqT4yc3u8wspYkWbG088Ndp6asMH3=Zb___Ck89CTvziYQ@mail.gmail.com
>
> And on top of it modify \password so as it generates a md5 verifier
> for pre-9.6 servers and a scram one for post-10 servers by looking at
> the backend version of the current connection. What do you think?

Yep, sounds like a plan.

- Heikki




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: scram and \password
Next
From: Amit Kapila
Date:
Subject: Re: Patch: Write Amplification Reduction Method (WARM)