Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fmkDq-00024G-9v for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Aug 2018 18:27:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fmkDm-0007Le-30 for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Aug 2018 18:27:10 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fmkDl-0007LX-AC for pgsql-hackers@lists.postgresql.org; Mon, 06 Aug 2018 18:27:09 +0000 Received: from smtp7.dreamhost.com ([64.90.62.176] helo=pdx1-sub0-mail-a7.g.dreamhost.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fmkDd-0008Ql-JZ for pgsql-hackers@postgresql.org; Mon, 06 Aug 2018 18:27:07 +0000 Received: from pdx1-sub0-mail-a7.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a7.g.dreamhost.com (Postfix) with ESMTP id E1D0D800D9; Mon, 6 Aug 2018 11:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=5rD7b7ryBq3J73 n1K3WWxcXK+Ns=; b=aBC937jWI77EDgK5oj+Bsmra0dJGjp5yRjdWg2wwxAxhxF buzZlUScerP5jXFUHmZ63UTzDuXGtrcmC4uN0whrTHI6U0Mk9qv0wc4z2TeE8aeN QK7zMkObMjt676qZfDxa1t+8gjdlTTtsXLIhNaOQhrkkvc2hAPBB0M28KnqcQ= Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by pdx1-sub0-mail-a7.g.dreamhost.com (Postfix) with ESMTPSA id 3BF9C7FEBF; Mon, 6 Aug 2018 11:27:01 -0700 (PDT) Date: Mon, 6 Aug 2018 13:26:55 -0500 From: Nico Williams To: Stephen Frost Cc: Heikki Linnakangas , Robbie Harwood , PostgreSQL mailing lists Subject: Re: [PATCH v18] GSSAPI encryption support Message-ID: <20180806182654.GU5695@localhost> References: <82e75cb9-9676-6852-74de-1454a5cc97d7@iki.fi> <20180806143633.GJ27724@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180806143633.GJ27724@tamriel.snowman.net> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Aug 06, 2018 at 10:36:34AM -0400, Stephen Frost wrote: > * Heikki Linnakangas (hlinnaka@iki.fi) wrote: > > Sorry if this sounds facetious, but: > > > > What is the point of this patch? What's the advantage of GSSAPI encryption > > over SSL? I was hoping to find the answer by reading the documentation > > changes, but all I can see is "how" to set it up, and nothing about "why". > > If you've already got an existing Kerberos environment, then it's a lot > nicer to leverage that rather than having to also implement a full PKI > to support and use SSL-based encryption. > > There's also something to be said for having alternatives to OpenSSL. Those two reasons would be my motivation if I were implementing this, and they are some of the reasons I did a code review. Nico --