From b6472012a6f8dfc90972e2e7191e31805da87fb2 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 13 Mar 2023 19:03:07 +0200 Subject: [PATCH] same as last commit but scram-sha-256 --- pg_hba.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pg_hba.conf b/pg_hba.conf index c10dfae09..2c727c3e2 100644 --- a/pg_hba.conf +++ b/pg_hba.conf @@ -27,18 +27,18 @@ # maintenance (custom daily cronjobs, replication, and similar tasks). # # Database administrative login by Unix domain socket -local all postgres md5 +local all postgres scram-sha-256 # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only -local all all md5 +local all all scram-sha-256 # IPv4 local connections: -host all all 127.0.0.1/32 md5 +host all all 127.0.0.1/32 scram-sha-256 # IPv6 local connections: -host all all ::1/128 md5 +host all all ::1/128 scram-sha-256 # Allow replication connections from localhost, by a user with the # replication privilege. -local replication all md5 -host replication all 127.0.0.1/32 md5 -host replication all ::1/128 md5 +local replication all scram-sha-256 +host replication all 127.0.0.1/32 scram-sha-256 +host replication all ::1/128 scram-sha-256