postgres/contrib/postgres_fdw
Peter Eisentraut 761c79508e postgres_fdw: SCRAM authentication pass-through
This enables SCRAM authentication for postgres_fdw when connecting to
a foreign server without having to store a plain-text password on user
mapping options.

This is done by saving the SCRAM ClientKey and ServeryKey from the
client authentication and using those instead of the plain-text
password for the server-side SCRAM exchange.  The new foreign-server
or user-mapping option "use_scram_passthrough" enables this.

Co-authored-by: Matheus Alcantara <mths.dev@pm.me>
Co-authored-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://www.postgresql.org/message-id/flat/27b29a35-9b96-46a9-bc1a-914140869dac@gmail.com
2025-01-15 17:58:05 +01:00
..
expected postgres_fdw: SCRAM authentication pass-through 2025-01-15 17:58:05 +01:00
sql postgres_fdw: re-issue cancel requests a few times if necessary. 2024-12-23 15:14:30 -05:00
t postgres_fdw: SCRAM authentication pass-through 2025-01-15 17:58:05 +01:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
connection.c postgres_fdw: SCRAM authentication pass-through 2025-01-15 17:58:05 +01:00
deparse.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
Makefile postgres_fdw: SCRAM authentication pass-through 2025-01-15 17:58:05 +01:00
meson.build postgres_fdw: SCRAM authentication pass-through 2025-01-15 17:58:05 +01:00
option.c postgres_fdw: SCRAM authentication pass-through 2025-01-15 17:58:05 +01:00
postgres_fdw--1.1--1.2.sql postgres_fdw: Extend postgres_fdw_get_connections to return user name. 2024-09-18 12:51:48 +09:00
postgres_fdw--1.0--1.1.sql postgres_fdw: Add functions to discard cached connections. 2021-01-26 15:35:54 +09:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
postgres_fdw.control postgres_fdw: Add "used_in_xact" column to postgres_fdw_get_connections(). 2024-07-26 22:15:51 +09:00
postgres_fdw.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
shippable.c Update copyright for 2025 2025-01-01 11:21:55 -05:00