Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5B7a-00076b-JW for pgsql-general@arkaria.postgresql.org; Thu, 19 Oct 2017 13:44:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e5B7Z-0007lF-Q9 for pgsql-general@arkaria.postgresql.org; Thu, 19 Oct 2017 13:44:25 +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_2) (envelope-from ) id 1e5B7Z-0007l3-98 for pgsql-general@postgresql.org; Thu, 19 Oct 2017 13:44:25 +0000 Received: from mail-yw0-x22b.google.com ([2607:f8b0:4002:c05::22b]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e5B7V-00020u-Po for pgsql-general@postgresql.org; Thu, 19 Oct 2017 13:44:24 +0000 Received: by mail-yw0-x22b.google.com with SMTP id n189so3517389ywd.6 for ; Thu, 19 Oct 2017 06:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=uPS3n3JFd4xmd+cB799B5hGFZoLvVUADpN+PH6sSHyA=; b=MMjHWtAaHfEGLguQI47u1bIyUyal42gcQFbSQThCz1TZr7lqt4uiswDQVbI89lhZg7 6OHWYkvhSY9Vi5JsAsc3hCZNuXedsxGyWG7b/sCKWkb5lPxVfEUKBsQ4ow8cGTCPiKOx xYdi5VqxzDTSKgQF59Tjmdk666A4PaIezdN7H23yYdekUA8FK1cKI9Ut3wlmnXtm604C iwjgXw3ju6XX8TQyl7NBgPPQ3qWQBXK/0y5HISrY/oBojF/DQw6DLQ/hGfqVJnYZmLzE BHLr2qu9/idJOUhk3OETCD9pfvG7iN8i8i1n5IIt/PmbNV03g8oEpPyK4u7m7g75MUPj X36Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=uPS3n3JFd4xmd+cB799B5hGFZoLvVUADpN+PH6sSHyA=; b=Jj/qjwzU7Fm/H6YkkZyyuS2n4x+6ruHrLTUltJ+0u2zE/g6Wnt2P51vqBbKSm9gfo2 dNV5bhOdKxTbBjmiPtVm0phXOr7yvy9Eybv2nAaA33LunaytZ6sZFaSgP3HoSxR3i7om nwVC7WGLoQnJNHL/SpJlTi2wqCX8mv2tJx/NspMCsoUcZHDoyIFwiE6deusAH7HZ5lyH 6Eqb39FEB0xi+XSrMLiAOIov9XdKPJNnwj94QO2HH9jXrNzxKr51OEqYTGfi/WC89xVE WqYWX43uyhWMhjQShQqj9lr8wst+vS0NvXudVu2frOHY1eD5l2GIyBwBjodzNa2nFexk +BYg== X-Gm-Message-State: AMCzsaWJ1Y8agFSKNPSJfVp27l56Gj4ev9PvbJQWpJygeA+0kapRzkKw 7zqfjKnlhTeD1RUwDION4WMG3MHXBAFZPSmMEHJFKc4dWtd799Cm0l+24p8s5gG8Vmx+wwa96CW RYe2TvYt2WmsgfRDCesjx2rHjtAl+1dKDGd7wb92IcLDhFjdeLQD2lDpZuSI7pb6FwXTlMAck6Y kSSQx9r6TxNhG5 X-Google-Smtp-Source: ABhQp+QztgIRY1q69E2w5JPUErbdTacI+I+nLKUiJPIthLRTLEfYX+q2K3g2qPPxz7wdz+7FSsXTDQ== X-Received: by 10.129.117.5 with SMTP id q5mr1072777ywc.116.1508420659875; Thu, 19 Oct 2017 06:44:19 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id m34sm8714119ywh.5.2017.10.19.06.44.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Oct 2017 06:44:19 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgpass file type restrictions To: Desidero , Tom Lane Cc: pgsql-general@postgresql.org References: <11556.1508393575@sss.pgh.pa.us> Message-ID: <79480a76-2028-b348-1523-8b48f627fde4@2ndQuadrant.com> Date: Thu, 19 Oct 2017 09:44:18 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 10/19/2017 09:20 AM, Desidero wrote: > I agree that it would be better for us to use something other than > LDAP, but unfortunately it's difficult to convince the powers that be > that we can/should use something else that they are not yet prepared > to properly manage/audit. We are working towards it, but we're not > there yet. It's not really an exuse, but until the industry password > policies are modified to outright ban passwords, many businesses will > probably be in this position. > > In any event, is the use case problematic enough that it would prevent > the proposed changes from being implemented? I could submit a patch to > postgres hackers if necessary, but if it's undesirable I can figure > out something else. > Please don't top-post on the PostgreSQL lists. You said you wanted to allow anonymous pipes, but I think what you really want is a named pipe. I don't see any reason in principle to disallow use of a named pipe as a password file. It could be a bit of a footgun, though, since writing to the fifo would block until it was opened by the client, so you'd need to be very careful about that. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general