From: agrimm@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6412: psql & fe-connect truncate passwords
Date: Sat, 28 Jan 2012 02:15:20 +0000
Message-ID: <E1Rqxp2-0004Qt-PL@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6412
Logged by: Andy Grimm
Email address: agrimm@gmail.com
PostgreSQL version: 9.1.2
Operating system: Linux (Fedora)
Description:
When psql prompts for a password, it only reads the first 100 characters of
the password. The limit in fe-connect.c (for when .pgpass is used) is
weirder, a seemingly arbitrary 320 bytes for all fields combined. Other
(postgresql-jdbc, PyGreSQL, etc.) have no problem with a 512-byte password.
It would be nice to have these limits controlled by a constant, and for the
command to give an error or warning when a password is truncated.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: agrimm@gmail.com
Subject: Re: BUG #6412: psql & fe-connect truncate passwords
In-Reply-To: <E1Rqxp2-0004Qt-PL@wrigleys.postgresql.org>
References: <E1Rqxp2-0004Qt-PL@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox