Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpBjo-0007L1-Gu for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Oct 2015 09:00:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZpBjn-0002BI-Tk for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Oct 2015 09:00:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZpBjm-0002AV-Jt for pgsql-hackers@postgresql.org; Thu, 22 Oct 2015 09:00:42 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZpBjf-0003Ar-Pi for pgsql-hackers@postgresql.org; Thu, 22 Oct 2015 09:00:41 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 30D1D860002; Thu, 22 Oct 2015 11:00:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p54AF42CD.dip0.t-ipconnect.de [84.175.66.205]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 17719860001; Thu, 22 Oct 2015 11:00:27 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id 9E75D101662; Thu, 22 Oct 2015 11:00:26 +0200 (CEST) Date: Thu, 22 Oct 2015 11:00:26 +0200 From: Andres Freund To: Michael Paquier Cc: Robbie Harwood , Stephen Frost , PostgreSQL mailing lists , Craig Ringer Subject: Re: [PATCH v3] GSSAPI encryption support Message-ID: <20151022090026.GB8952@awork2.anarazel.de> References: <20151016133459.GL3685@tamriel.snowman.net> <20151017021105.GP3685@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2015-10-22 16:47:09 +0900, Michael Paquier wrote: > Hm, and that's why you chose this way of going. My main concern about > this patch is that it adds on top of the existing Postgres protocol a > layer to encrypt and decrypt the messages between server and client > based on GSSAPI. All messages transmitted between client and server > are changed to 'g' messages on the fly and switched back to their > original state at reception. This is symbolized by the four routines > you added in the patch in this purpose, two for frontend and two for > backend, each one for encryption and decryption. I may be wrong of > course, but it seems to me that this approach will not survive > committer-level screening because of the fact that context-level > things invade higher level protocol messages. Agreed. At least one committer here indeed thinks this approach is not acceptable (and I've said so upthread). Greetings, Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers