pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: libpq: Enforce ALPN in direct SSL connections
Date: Mon, 29 Apr 2024 15:14:26 +0000
Message-ID: <E1s1Si1-000dPH-6I@gemulon.postgresql.org> (raw)

libpq: Enforce ALPN in direct SSL connections

ALPN is mandatory with direct SSL connections. That is documented, and
the server checks it, but libpq was missing the check.

Reported-by: Jacob Champion
Reviewed-by: Michael Paquier
Discussion: https://www.postgresql.org/message-id/CAOYmi+=sj+1uydS0NR4nYzw-LRWp3Q-s5speBug5UCLSPMbvGA@mail.gmail...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/03a0e0d4bb78f23449802463ceea3c5bf8d4838a

Modified Files
--------------
src/interfaces/libpq/fe-secure-openssl.c | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)



view thread (2+ messages)

Message-ID: <E1s1Si1-000dPH-6I@gemulon.postgresql.org>
Permalink:  ../E1s1Si1-000dPH-6I@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1s1Si1-000dPH-6I@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: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: libpq: Enforce ALPN in direct SSL connections
  In-Reply-To: <E1s1Si1-000dPH-6I@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