From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix use of term "verifier"
Date: Sat, 12 Oct 2019 19:42:36 +0000
Message-ID: <E1iJNHg-0007k7-Ok@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Fix use of term "verifier"
In-Reply-To: <E1iJNHg-0007k7-Ok@gemulon.postgresql.org>
References: <E1iJNHg-0007k7-Ok@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox