Fix use of term "verifier"
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/auth.c | modified | +1 −1 |
| src/backend/libpq/auth-scram.c | modified | +52 −52 |
| src/backend/libpq/crypt.c | modified | +4 −4 |
| src/common/scram-common.c | modified | +2 −2 |
| src/include/common/scram-common.h | modified | +3 −3 |
| src/include/libpq/crypt.h | modified | +1 −1 |
| src/include/libpq/scram.h | modified | +4 −4 |
| src/interfaces/libpq/fe-auth.c | modified | +1 −1 |
| src/interfaces/libpq/fe-auth.h | modified | +1 −1 |
| src/interfaces/libpq/fe-auth-scram.c | modified | +3 −3 |
| src/test/authentication/t/001_password.pl | modified | +1 −1 |
| src/test/regress/expected/password.out | modified | +6 −6 |
| src/test/regress/sql/password.sql | modified | +6 −6 |
Discussion
- use of the term "verifier" with SCRAM 5 messages · 2019-08-14 → 2019-10-12