Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lblD1-0005Ty-3B for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Apr 2021 14:30:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lblCz-0006sr-PI for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Apr 2021 14:30:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lblCz-0006sk-D8 for pgsql-hackers@lists.postgresql.org; Wed, 28 Apr 2021 14:30:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lblCx-0007Ng-G4 for pgsql-hackers@postgresql.org; Wed, 28 Apr 2021 14:30:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 13SEURG42797149; Wed, 28 Apr 2021 10:30:27 -0400 From: Tom Lane To: Alvaro Herrera cc: Peter Eisentraut , pgsql-hackers Subject: Re: pg_hba.conf.sample wording improvement In-reply-to: <20210428140946.GA13248@alvherre.pgsql> References: <20210428140946.GA13248@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 28 Apr 2021 10:09:46 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2797147.1619620227.1@sss.pgh.pa.us> Date: Wed, 28 Apr 2021 10:30:27 -0400 Message-ID: <2797148.1619620227@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > Looking at it now, I wonder how well do the "hostno" options work. If I > say "hostnogssenc", is an SSL-encrypted socket good? If I say > "hostnossl", is a GSS-encrypted socket good? If so, how does that make > sense? Kind of off-topic for this thread, but I wonder if we should introduce "hostenc" and "hostnoenc" to mean "encrypted (or not), and I don't care by which method". The addition of GSS has made it painful to express those concepts. regards, tom lane