git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: af2c5aa) | patch
Add PQencryptPasswordConn function to libpq, use it in psql and createuser.
Wed, 3 May 2017 08:19:07 +0000 (11:19 +0300)
Wed, 3 May 2017 08:19:07 +0000 (11:19 +0300)
commit 8f8b9be51fd788bb11276df89606bc653163524e
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
13 files changed:
doc/src/sgml/libpq.sgml diff | blob | blame | history
src/backend/libpq/auth-scram.c diff | blob | blame | history
src/backend/libpq/crypt.c diff | blob | blame | history
src/bin/psql/command.c diff | blob | blame | history
src/bin/scripts/createuser.c diff | blob | blame | history
src/common/scram-common.c diff | blob | blame | history
src/include/common/scram-common.h diff | blob | blame | history
src/include/libpq/scram.h diff | blob | blame | history
src/interfaces/libpq/exports.txt diff | blob | blame | history
src/interfaces/libpq/fe-auth-scram.c diff | blob | blame | history
src/interfaces/libpq/fe-auth.c diff | blob | blame | history
src/interfaces/libpq/fe-auth.h diff | blob | blame | history
src/interfaces/libpq/libpq-fe.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /