Upgrading password encryption from md5 to scram-sh-256

From: Nikhil Shetty <nikhil(dot)dba04(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Upgrading password encryption from md5 to scram-sh-256
Date: 2021-05-28 13:27:43
Message-ID: CAFpL5VytCu6h4n1hnaRS1BYTNW8uv5jx_FDERwssL_vCNYAfzw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Team,

Just a quick check
As per documentation, for upgrading password encryption from md5 to
scram-sha-256, we have to set password_encryption to scram-sha-256, reset
the user password and then change in pg_hba.conf.

Is there any other way to do this without changing the password? if there
are a lot of login users in the database it becomes difficult and it may
incur downtime as well.

I see there is a way the users can do it by themselves but still will
incur some downtime.

Thanks and Regards,
Nikhil

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Laurenz Albe 2021-05-28 14:29:10 Re: Upgrading password encryption from md5 to scram-sh-256
Previous Message Holger Jakobs 2021-05-28 11:15:54 Re: now() and statement_timestamp()