adding the support for using and storing the encrypted passwords in pool_passwd
authorMuhammad Usama <m.usama@gmail.com>
Fri, 20 Jul 2018 22:36:53 +0000 (03:36 +0500)
committerMuhammad Usama <m.usama@gmail.com>
Mon, 6 Aug 2018 12:33:14 +0000 (17:33 +0500)
commit97459f9d699e10d308d5f71111a59dbcc5c3d27f
tree3a931f6220792ea522a8f32966bb11c0348c6a4e
parent57b0665c9208d68b6aadf7b83b058b14552dade3
adding the support for using and storing the encrypted passwords in pool_passwd
file to be used for SCRAM and other auth methods.
new utility pg_enc is also added for creating the encrypted passwords.
openssl is used for encryption and decryption, so Pgpool-II must be built with
ssl (--with-openssl) support to use the encrypted password feature.
21 files changed:
configure
configure.ac
src/Makefile.am
src/Makefile.in
src/auth/pool_auth.c
src/auth/pool_hba.c
src/auth/pool_passwd.c
src/include/auth/md5.h
src/include/auth/pool_passwd.h
src/include/auth/scram.h
src/include/pool.h
src/include/utils/ssl_utils.h [new file with mode: 0644]
src/include/watchdog/wd_utils.h
src/main/main.c
src/tools/Makefile.am
src/tools/Makefile.in
src/tools/pgenc/Makefile.am [new file with mode: 0644]
src/tools/pgenc/Makefile.in [new file with mode: 0644]
src/tools/pgenc/pg_enc.c [new file with mode: 0644]
src/utils/ssl_utils.c [new file with mode: 0644]
src/watchdog/wd_utils.c