Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WiBs6-00022f-2J for pgsql-bugs@arkaria.postgresql.org; Thu, 08 May 2014 00:07:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WiBs5-0003Gv-G4 for pgsql-bugs@arkaria.postgresql.org; Thu, 08 May 2014 00:07:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WiBs3-0003F8-VD; Thu, 08 May 2014 00:07:32 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WiBrz-0008WR-Mn; Thu, 08 May 2014 00:07:31 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id C4C8D5F818; Wed, 7 May 2014 20:07:26 -0400 (EDT) Date: Wed, 7 May 2014 20:07:26 -0400 From: Stephen Frost To: Heikki Linnakangas Cc: dlo@isam.kiwi, pgsql-bugs@postgresql.org, pgadmin-hackers Subject: Re: BUG #10250: pgAdmin III 1.16.1 stores unescaped plaintext password Message-ID: <20140508000726.GE2556@tamriel.snowman.net> References: <20140507043248.1398.38867@wrigleys.postgresql.org> <20140507154431.GW2556@tamriel.snowman.net> <536A9CCE.9030006@vmware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RiDGWQJ9SA/NbZnc" Content-Disposition: inline In-Reply-To: <536A9CCE.9030006@vmware.com> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.11.0-19-generic (x86_64) X-Uptime: 20:06:14 up 29 days, 10:25, 5 users, load average: 0.25, 0.10, 0.06 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --RiDGWQJ9SA/NbZnc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Heikki Linnakangas (hlinnakangas@vmware.com) wrote: > (forwarding to pgadmin-hackers) Ah. > 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: >=20 > 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. Wow, that's pretty rough. Hopefully they'll be able to fix it soon. :) Thanks, Stephen --RiDGWQJ9SA/NbZnc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJTasq+AAoJEO1sijiDR2RVntMP/0xmGYNh24FekrJtgdJEbboo 8AFG9vF/pjLLmkRJfaqA9gouVzbNKPbHLf7H4mZbtHP5DbsFcOWt+RPfhVrCVypE Y8r15iiC99ad2URPy25RVYTsIkXtiv+fK9fRWVvxQnb6WYVPWShi3O2g91qPXeXf pIo4WyLVnJjbyHHyocinvnsXOBScn9o3YssmwPNHBMgZP2t7dCciRnOM0xjLaOTq 3LMFydwE+vG2vGXbFXea2GSY0bEVu7TakGUdcDte3jz88J+xjiPj39RbsifZ6Yf8 gtRD6EbcgLAkwo3BRtSHKcuK3TgQCSaIFI5zeo6QSFy/ILthM0xXPyFJVROO6SBQ cQ5TPL+VhYrETb0zWyRtWxGDXaMlumyMA5tGJE+cGMrEF1x1MaVR4nv83iKq+oYS zzNLwg4qdO/v7WdV5AGWkDqu8ilwEs/o0OTyjgCHsrC+LVE0lw9cfThwJPIXt56y zxtIghIKj1NTGGZOxIVw5iZv/XJEjMhc4KjNJohA2R4FMCIdPJCaXyYsZvZ/FAN8 YJjvN2j8fiw0YdiSRWQFVujH6p6bdO2F2shvuqRWdgds1lVTaf/4V6z93hYM8Anc gY6v1tVZJZZjAYWV1NG/3/8EZyMcWMu9z7B9RfNn6ySfh/UXb3D1DSYMwdIwIKxO SSOnfyFpcGKkcO9ztxYe =Xe3X -----END PGP SIGNATURE----- --RiDGWQJ9SA/NbZnc--