Re: [HACKERS] GnuTLS support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] GnuTLS support
Date
Msg-id 14527.1516244555@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] GnuTLS support  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [HACKERS] GnuTLS support
Re: [HACKERS] GnuTLS support
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> ... Worse yet, users are
> not going to intrinsically know which SSL implementation was compiled
> into the server they have.

That is a really good point.  For precedent, note that darn near nobody
seems to know whether their psql contains readline or libedit.  If we
force the issue by giving the settings different names, then they'll be
forced to figure out which SSL implementation they have.

On the other hand, you could argue that there are more user-friendly
ways to expose that information than demanding that users play twenty
questions with their config files.  I'd at least want us to recognize
when somebody tries to set "openssl_foo" in a gnutls implementation,
and respond with "you need to twiddle the gnutls_xxx variables instead"
rather than just "unrecognized configuration parameter".  Maybe that'd
be good enough, though.

Also, this isn't really a good argument against using uniform names
for parameters that every implementation is certain to have, like
ssl_key_file.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] GnuTLS support
Next
From: David Rowley
Date:
Subject: Re: [Sender Address Forgery]Re: [Sender Address Forgery]Re: [HACKERS]path toward faster partition pruning