Re: Regarding scram authentication libpq version 10 or more

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Durgamahesh Manne <maheshpostgres9(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: Regarding scram authentication libpq version 10 or more
Date: 2017-10-06 10:10:20
Message-ID: CAB7nPqQokqy1ORBEjRqqGaCmW47W3tCbs85FUSqwZrrdivhBzA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Oct 6, 2017 at 5:44 PM, Durgamahesh Manne
<maheshpostgres9(at)gmail(dot)com> wrote:
> This is regarding scram authentication libpq version 10. From which site i
> can download to configure libpq in order to use scram authentication in
> postgres 10
>
> i got below error while i check to access pg server
>
> psql.bin: SCRAM authentication requires libpq version 10 or more
>
> please let me know the detail info about scram libpq

Why not beginning to look at the download page of postgresql.org? Here
is the page:
https://www.postgresql.org/download/
SCRAM/SASL support in libpq is provided in any build of PostgreSQL 10,
so this depends mainly on the distribution and environment you are
using.

In order to get support for SCRAM, the documentation provides enough
details, beginning here:
https://www.postgresql.org/docs/10/static/auth-methods.html#auth-password
Basically you need to consider using password_encryption =
'scram-sha-256', and configure pg_hba.conf with a correct entry. If
you are upgrading from an existing instance, you need to make sure
that users with passwords are updated with proper SCRAM-hashed
entries.
--
Michael

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Durgamahesh Manne 2017-10-06 11:56:32 Re: Regarding scram authentication libpq version 10 or more
Previous Message Durgamahesh Manne 2017-10-06 08:44:14 Regarding scram authentication libpq version 10 or more