[pgpool-committers: 5019] pgpool: Encrypted password support for Pgpool-II internal backend conne

Muhammad Usama m.usama at gmail.com
Thu Aug 9 00:39:18 JST 2018


Encrypted password support for Pgpool-II internal backend connections.

The commit allows to specify the AES encrypted password in the pgpool.conf file
for healh_check_user, sr_check_user, wd_lifecheck_user and recovery_user users,
Additionally if the password field for any of these users is left blank in
pgpool conf then Pgpool-II will first try to get the password for that user
from pool_passwd file before using the empty password for the connection.
So now pgpool.conf can be made password free and single pool_passwd file can be
used to store all passwords for internal and external user connection

Branch
------
SCRAM_AUTH

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=5bf8d4646aff5ba10ccc2e97a5e2a5f6c15f0dda

Modified Files
--------------
src/auth/pool_passwd.c                        | 101 ++++++++++++++++++++++++--
src/include/auth/pool_passwd.h                |   4 +-
src/main/health_check.c                       |   8 +-
src/main/pgpool_main.c                        |  15 +++-
src/pcp_con/recovery.c                        |  27 +++++--
src/streaming_replication/pool_worker_child.c |  10 ++-
src/watchdog/wd_lifecheck.c                   |   8 +-
7 files changed, 152 insertions(+), 21 deletions(-)



More information about the pgpool-committers mailing list