Re: [PATCH] add ssl_protocols configuration option - Mailing list pgsql-hackers

From Alex Shulgin
Subject Re: [PATCH] add ssl_protocols configuration option
Date
Msg-id 878uj6ult3.fsf@commandprompt.com
Whole thread Raw
In response to Re: [PATCH] add ssl_protocols configuration option  (Dag-Erling Smørgrav <des@des.no>)
Responses Re: [PATCH] add ssl_protocols configuration option  (Dag-Erling Smørgrav <des@des.no>)
List pgsql-hackers
Dag-Erling Smørgrav <des@des.no> writes:

> Alex Shulgin <ash@commandprompt.com> writes:
>> * The patch works as advertised, though the only way to verify that
>>   connections made with the protocol disabled by the GUC are indeed
>>   rejected is to edit fe-secure-openssl.c to only allow specific TLS
>>   versions.  Adding configuration on the libpq side as suggested in the
>>   original discussion might help here.
>
> I can easily do that, but I won't have time until next week or so.

I can do that too, just need a hint where to look at in libpq/psql to
add the option.

For SSL we have sslmode and sslcompression, etc. in conninfo, so adding
sslprotocols seems to be an option.  As an aside note: should we also
expose a parameter to choose SSL ciphers (would be a separate patch)?

--
Alex



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Add shutdown_at_recovery_target option to recovery.conf
Next
From: Simon Riggs
Date:
Subject: Re: proposal: plpgsql - Assert statement