postgresql/src/common
Heikki Linnakangas 8f8b9be51f Add PQencryptPasswordConn function to libpq, use it in psql and createuser.
The new function supports creating SCRAM verifiers, in addition to md5
hashes. The algorithm is chosen based on password_encryption, by default.

This fixes the issue reported by Jeff Janes, that there was previously
no way to create a SCRAM verifier with "\password".

Michael Paquier and me

Discussion: https://www.postgresql.org/message-id/CAMkU%3D1wfBgFPbfAMYZQE78p%3DVhZX7nN86aWkp0QcCp%3D%2BKxZ%3Dbg%40mail.gmail.com
2017-05-03 11:19:07 +03:00
..
unicode Fix perlcritic warnings 2017-04-17 13:49:34 -04:00
base64.c Fix comments in SCRAM-SHA-256 patch. 2017-03-07 15:24:27 +02:00
config_info.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
controldata_utils.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
exec.c Remove symbol WIN32_ONLY_COMPILER 2017-04-11 15:22:21 +02:00
fe_memutils.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
file_utils.c Fix new warnings from GCC 7 2017-04-17 13:59:46 -04:00
ip.c Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
keywords.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Makefile Use SASLprep to normalize passwords for SCRAM authentication. 2017-04-07 14:56:05 +03:00
md5.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_lzcompress.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pgfnames.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
psprintf.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
relpath.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
restricted_token.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
rmtree.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
saslprep.c Use SASLprep to normalize passwords for SCRAM authentication. 2017-04-07 14:56:05 +03:00
scram-common.c Add PQencryptPasswordConn function to libpq, use it in psql and createuser. 2017-05-03 11:19:07 +03:00
sha2_openssl.c Refactor SHA2 functions and move them to src/common/. 2017-03-07 14:23:49 +02:00
sha2.c Refactor SHA2 functions and move them to src/common/. 2017-03-07 14:23:49 +02:00
string.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
unicode_norm.c Avoid using a C++ keyword in header file 2017-04-07 16:32:02 -04:00
username.c Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
wait_error.c Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00