pgsql: Fix use of term "verifier" - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Fix use of term "verifier"
Date
Msg-id E1iJNHg-0007k7-Ok@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b4675a8ae2d0aaafeb136c46c92bb56eaf018d32

Modified Files
--------------
src/backend/libpq/auth-scram.c            | 104 +++++++++++++++---------------
src/backend/libpq/auth.c                  |   2 +-
src/backend/libpq/crypt.c                 |   8 +--
src/common/scram-common.c                 |   4 +-
src/include/common/scram-common.h         |   6 +-
src/include/libpq/crypt.h                 |   2 +-
src/include/libpq/scram.h                 |   8 +--
src/interfaces/libpq/fe-auth-scram.c      |   6 +-
src/interfaces/libpq/fe-auth.c            |   2 +-
src/interfaces/libpq/fe-auth.h            |   2 +-
src/test/authentication/t/001_password.pl |   2 +-
src/test/regress/expected/password.out    |  12 ++--
src/test/regress/sql/password.sql         |  12 ++--
13 files changed, 85 insertions(+), 85 deletions(-)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: AIX: Stop adding option -qsrcmsg.
Next
From: Alexander Korotkov
Date:
Subject: Re: pgsql: Implement jsonpath .datetime() method