pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Amazon RDS auth tokens in .pgpass
Date: Mon, 31 Aug 2020 13:26:23 -0500
Message-ID: <8c791ff3-3f48-99dc-4d33-cab8701d0997@gmail.com> (raw)
In-Reply-To: <4123590.1598898063@sss.pgh.pa.us>
References: <CAOhmDze1nqG2vfegpSsTFCgaiFRsqgjO6yLsbmhroz2zGmJHog@mail.gmail.com>
	<4119486.1598897040@sss.pgh.pa.us>
	<20200831181648.GT29590@tamriel.snowman.net>
	<4123590.1598898063@sss.pgh.pa.us>

On 8/31/20 1:21 PM, Tom Lane wrote:
> Stephen Frost <sfrost@snowman.net> writes:
>> My memory might be faulty, but I've got some specific recollection of
>> people complaining about this before and the community response being
>> "who would ever need such very long things?!"
> Yeah, so I guessed wrong ;-).  Never too late to absorb new facts though.
>
> That thread does point out that passwordFromFile() is far from the
> only place that assumes passwords aren't going to be longer than
> what would be sane to enter manually.  I wonder whether we need to
> worry about the other bottlenecks.

Would it be better to add a .pgtoken file which gets examined (and bypasses 
those other length restrictions) if the user isn't in .pgpass?  Or is that a 
feature which would have to wait for v14?

-- 
Angular momentum makes the world go 'round.





view thread (10+ messages)  latest in thread

Message-ID: <8c791ff3-3f48-99dc-4d33-cab8701d0997@gmail.com>
Permalink:  ../8c791ff3-3f48-99dc-4d33-cab8701d0997@gmail.com/
Also on:    postgresql.org/message-id/8c791ff3-3f48-99dc-4d33-cab8701d0997@gmail.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Amazon RDS auth tokens in .pgpass
  In-Reply-To: <8c791ff3-3f48-99dc-4d33-cab8701d0997@gmail.com>

* 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