Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ipYxX-0005bh-HO for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Jan 2020 14:38:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ipYxW-0000gf-DM for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Jan 2020 14:38:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ipYxW-0000gV-15 for pgsql-hackers@lists.postgresql.org; Thu, 09 Jan 2020 14:38:50 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ipYxT-00078k-Bi for pgsql-hackers@postgresql.org; Thu, 09 Jan 2020 14:38:48 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 47tpdd2WjYz3F02; Thu, 9 Jan 2020 15:38:45 +0100 (CET) Date: Thu, 9 Jan 2020 15:38:45 +0100 From: Christoph Berg To: Robert Haas Cc: Andrew Dunstan , "pgsql-hackers@postgresql.org" Subject: Re: pgsql: Allow 'sslkey' and 'sslcert' in postgres_fdw user mappings Message-ID: <20200109143845.GE4192@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Robert Haas , Andrew Dunstan , "pgsql-hackers@postgresql.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Robert Haas 2020-01-09 > Does this mean that a non-superuser can induce postgres_fdw to read an > arbitrary file from the local filesystem? Yes, see my comments in the "Allow 'sslkey' and 'sslcert' in postgres_fdw user mappings" thread. Christoph