pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make SASL max message length configurable
Date: Wed, 23 Oct 2024 14:17:05 +0000
Message-ID: <E1t3cAc-00251Y-9l@gemulon.postgresql.org> (raw)

Make SASL max message length configurable

The proposed OAUTHBEARER SASL mechanism will need to allow larger
messages in the exchange, since tokens are sent directly by the
client.  Move this limit into the pg_be_sasl_mech struct so that
it can be changed per-mechanism.

Author: Jacob Champion <jacob.champion@enterprisedb.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAOYmi+nqX_5=Se0W0Ynrr55Fha3CMzwv_R9P3rkpHb=1kG7ZTQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6d16f9debae0a09a7db91d7f204bda043d04792c

Modified Files
--------------
src/backend/libpq/auth-sasl.c  | 10 +---------
src/backend/libpq/auth-scram.c |  4 +++-
src/include/libpq/sasl.h       | 13 ++++++++++++-
3 files changed, 16 insertions(+), 11 deletions(-)



Message-ID: <E1t3cAc-00251Y-9l@gemulon.postgresql.org>
Permalink:  ../E1t3cAc-00251Y-9l@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1t3cAc-00251Y-9l@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Make SASL max message length configurable
  In-Reply-To: <E1t3cAc-00251Y-9l@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