Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi8pZ-0002fl-LD for pgadmin-hackers@arkaria.postgresql.org; Wed, 07 May 2014 20:52:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wi8pY-0003Hs-6p for pgadmin-hackers@arkaria.postgresql.org; Wed, 07 May 2014 20:52:44 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi8oP-0001ip-S8; Wed, 07 May 2014 20:51:34 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi8oM-0000zD-QX; Wed, 07 May 2014 20:51:33 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id ACC1128AC8; Wed, 7 May 2014 13:51:29 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id A0A43B13EC; Wed, 7 May 2014 13:51:29 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id 7E95CC005B; Wed, 7 May 2014 13:51:33 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Wed, 7 May 2014 13:51:32 -0700 (PDT) Message-ID: <536A9CCE.9030006@vmware.com> Date: Wed, 07 May 2014 23:51:26 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: Stephen Frost , dlo@isam.kiwi CC: pgsql-bugs@postgresql.org, pgadmin-hackers Subject: Re: [BUGS] BUG #10250: pgAdmin III 1.16.1 stores unescaped plaintext password References: <20140507043248.1398.38867@wrigleys.postgresql.org> <20140507154431.GW2556@tamriel.snowman.net> In-Reply-To: <20140507154431.GW2556@tamriel.snowman.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.6 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org (forwarding to pgadmin-hackers) On 05/07/2014 06:44 PM, Stephen Frost wrote: > * dlo@isam.kiwi (dlo@isam.kiwi) wrote: >> but when the credential contains the delimiter (colon) it fails to be >> read back out and app responds with "invalid credentials". >> >> x.x.x.x:5432:*:username:password:with:colons > > Per the fine documentation, you need to escape any such usage with a > backslash. Please review: Stephen, you missed the context. pgadmin3 saves .pgpass, when you check the "store password" checkbox in the connection dialog. And apparantly pgadmin3 doesn't do that escaping properly. - Heikki -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers