From: | Matheus Alcantara <matheusssilv97(at)gmail(dot)com> |
---|---|
To: | Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: SCRAM pass-through authentication for postgres_fdw |
Date: | 2024-12-09 18:06:11 |
Message-ID: | 9983e6cb-08d1-4708-b17e-db4b56b55d84@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 04/12/24 20:05, Jelte Fennema-Nio wrote:
> On Wed, 4 Dec 2024 at 23:11, Jacob Champion
> <jacob(dot)champion(at)enterprisedb(dot)com> wrote:
>> It makes me a little uneasy to give users a reason to copy identical
>> salts/verifiers around... But for e.g. a loopback connection, it seems
>> like there'd be no additional risk. Is that the target use case?
>
> I don't think that necessarily has to be the usecase,
> clustering/sharding setups could benefit from this too. PgBouncer
> supports the same functionality[1]. I only see advantages over the
> alternative, which is copying the plaintext password around. In case
> of compromise of the server, only the salt+verifier has to be rotated,
> not the actual user password.
The patch is very similar with what was implemented on PgBoucer[1]
> Regarding the actual patch: This definitely needs a bunch of
> documentation explaining how to use this and when not to use this.
I'm attaching a patch with a initial documentation, so that we can get
initial thoughts (not sure if I should put the documentation on the
same patch of code changes).
Thanks!
--
Matheus Alcantara
EDB: https://www.enterprisedb.com
Attachment | Content-Type | Size |
---|---|---|
v2-0002-postgres_fdw-Add-documentation-for-SCRAM-auth.patch | text/plain | 1.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2024-12-09 18:13:15 | Re: WARNING: missing lock on database "postgres" (OID 5) @ TID (0,4) |
Previous Message | Matheus Alcantara | 2024-12-09 17:59:13 | Re: SCRAM pass-through authentication for postgres_fdw |