]> granicus.if.org Git - postgresql/commit
Fix use of term "verifier"
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 12 Oct 2019 19:17:34 +0000 (21:17 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Sat, 12 Oct 2019 19:41:59 +0000 (21:41 +0200)
commitb4675a8ae2d0aaafeb136c46c92bb56eaf018d32
treebb1219cbd64f0498e13c5485736870cfc171d79a
parent5f3d271d03b249f5c80e3d3ca946f62a33d7862f
Fix use of term "verifier"

Within the context of SCRAM, "verifier" has a specific meaning in the
protocol, per RFCs.  The existing code used "verifier" differently, to
mean whatever is or would be stored in pg_auth.rolpassword.

Fix this by using the term "secret" for this, following RFC 5803.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/be397b06-6e4b-ba71-c7fb-54cae84a7e18%402ndquadrant.com
13 files changed:
src/backend/libpq/auth-scram.c
src/backend/libpq/auth.c
src/backend/libpq/crypt.c
src/common/scram-common.c
src/include/common/scram-common.h
src/include/libpq/crypt.h
src/include/libpq/scram.h
src/interfaces/libpq/fe-auth-scram.c
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-auth.h
src/test/authentication/t/001_password.pl
src/test/regress/expected/password.out
src/test/regress/sql/password.sql