Re: Add support to TLS 1.3 cipher suites and curves lists - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: Add support to TLS 1.3 cipher suites and curves lists
Date
Msg-id CAGECzQSnC66fJCrzyD16Ec7dg5nwxn6KGdEh-yB=V=W8FfBqSg@mail.gmail.com
Whole thread Raw
In response to Re: Add support to TLS 1.3 cipher suites and curves lists  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Add support to TLS 1.3 cipher suites and curves lists
List pgsql-hackers
On Mon, 10 Jun 2024 at 12:31, Daniel Gustafsson <daniel@yesql.se> wrote:
> Regarding the ciphersuites portion of the patch.  I'm not particularly thrilled
> about having a GUC for TLSv1.2 ciphers and one for TLSv1.3 ciphersuites, users
> not all that familiar with TLS will likely find it confusing to figure out what
> to do.

I don't think it's easy to create a single GUC because OpenSSL has
different APIs for both. So we'd have to add some custom parsing for
the combined string, which is likely to cause some problems imho. I
think separating them is the best option from the options we have and
I don't think it matters much practice for users. Users not familiar
with TLS might indeed be confused, but those users shouldn't touch
these settings anyway, and just use the defaults. The users that care
about this probably already get two cipher strings from their
compliance teams, because many other applications also have two
separate options for specifying both.



pgsql-hackers by date:

Previous
From: Kartyshov Ivan
Date:
Subject: Re: [HACKERS] make async slave to wait for lsn to be replayed
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: Re: Re: Add support to TLS 1.3 cipher suites and curves lists