From 1766e415066f19a8e3bc2b717e8437159f1cdb47 Mon Sep 17 00:00:00 2001 From: Brandon Dunne Date: Tue, 30 Jul 2024 15:31:48 -0400 Subject: [PATCH] Change the default from md5 to scram-sha-256 in pg_hba.conf --- 10/root/usr/share/container-scripts/postgresql/common.sh | 4 ++-- 12/root/usr/share/container-scripts/postgresql/common.sh | 4 ++-- 13/root/usr/share/container-scripts/postgresql/common.sh | 4 ++-- 14/root/usr/share/container-scripts/postgresql/common.sh | 4 ++-- 15/root/usr/share/container-scripts/postgresql/common.sh | 4 ++-- 16/root/usr/share/container-scripts/postgresql/common.sh | 4 ++-- src/root/usr/share/container-scripts/postgresql/common.sh | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/10/root/usr/share/container-scripts/postgresql/common.sh b/10/root/usr/share/container-scripts/postgresql/common.sh index 0b57e599..dfaadf62 100644 --- a/10/root/usr/share/container-scripts/postgresql/common.sh +++ b/10/root/usr/share/container-scripts/postgresql/common.sh @@ -224,10 +224,10 @@ EOF # # Allow connections from all hosts. -host all all all md5 +host all all all scram-sha-256 # Allow replication connections from all hosts. -host replication all all md5 +host replication all all scram-sha-256 EOF } diff --git a/12/root/usr/share/container-scripts/postgresql/common.sh b/12/root/usr/share/container-scripts/postgresql/common.sh index eff22d87..378920d8 100644 --- a/12/root/usr/share/container-scripts/postgresql/common.sh +++ b/12/root/usr/share/container-scripts/postgresql/common.sh @@ -224,10 +224,10 @@ EOF # # Allow connections from all hosts. -host all all all md5 +host all all all scram-sha-256 # Allow replication connections from all hosts. -host replication all all md5 +host replication all all scram-sha-256 EOF } diff --git a/13/root/usr/share/container-scripts/postgresql/common.sh b/13/root/usr/share/container-scripts/postgresql/common.sh index afcfc059..8699314e 100644 --- a/13/root/usr/share/container-scripts/postgresql/common.sh +++ b/13/root/usr/share/container-scripts/postgresql/common.sh @@ -224,10 +224,10 @@ EOF # # Allow connections from all hosts. -host all all all md5 +host all all all scram-sha-256 # Allow replication connections from all hosts. -host replication all all md5 +host replication all all scram-sha-256 EOF } diff --git a/14/root/usr/share/container-scripts/postgresql/common.sh b/14/root/usr/share/container-scripts/postgresql/common.sh index b2b7b762..b5ffebbb 100644 --- a/14/root/usr/share/container-scripts/postgresql/common.sh +++ b/14/root/usr/share/container-scripts/postgresql/common.sh @@ -224,10 +224,10 @@ EOF # # Allow connections from all hosts. -host all all all md5 +host all all all scram-sha-256 # Allow replication connections from all hosts. -host replication all all md5 +host replication all all scram-sha-256 EOF } diff --git a/15/root/usr/share/container-scripts/postgresql/common.sh b/15/root/usr/share/container-scripts/postgresql/common.sh index be2eb759..13e3c1f2 100644 --- a/15/root/usr/share/container-scripts/postgresql/common.sh +++ b/15/root/usr/share/container-scripts/postgresql/common.sh @@ -224,10 +224,10 @@ EOF # # Allow connections from all hosts. -host all all all md5 +host all all all scram-sha-256 # Allow replication connections from all hosts. -host replication all all md5 +host replication all all scram-sha-256 EOF } diff --git a/16/root/usr/share/container-scripts/postgresql/common.sh b/16/root/usr/share/container-scripts/postgresql/common.sh index b7482bdb..fe913aaf 100644 --- a/16/root/usr/share/container-scripts/postgresql/common.sh +++ b/16/root/usr/share/container-scripts/postgresql/common.sh @@ -224,10 +224,10 @@ EOF # # Allow connections from all hosts. -host all all all md5 +host all all all scram-sha-256 # Allow replication connections from all hosts. -host replication all all md5 +host replication all all scram-sha-256 EOF } diff --git a/src/root/usr/share/container-scripts/postgresql/common.sh b/src/root/usr/share/container-scripts/postgresql/common.sh index 7afc7ce3..7813eb42 100644 --- a/src/root/usr/share/container-scripts/postgresql/common.sh +++ b/src/root/usr/share/container-scripts/postgresql/common.sh @@ -225,10 +225,10 @@ EOF # # Allow connections from all hosts. -host all all all md5 +host all all all scram-sha-256 # Allow replication connections from all hosts. -host replication all all md5 +host replication all all scram-sha-256 EOF }