pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Verite <daniel@manitou-mail.org>
To: Desidero <desidero@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: pgpass file type restrictions
Date: Thu, 19 Oct 2017 15:56:59 +0200
Message-ID: <7a53b770-0e6c-4cb5-903d-180ff12d53e2@manitou-mail.org> (raw)
In-Reply-To: <CABvH9hXLDEhy8eGxLyXzaXMdPuQYd5_=f-u4VUZ4SQs_VMSe2Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

	Desidero wrote:

> When attempting to use something like an anonymous pipe for a
> passfile, psql throws an error stating that it only accepts plain files

So the script doing that has access to the password(s) in clear text.
Can't it instead push the password into the PGPASSWORD
environment variable, avoiding creating .pgpass in any form?


Best regards,
-- 
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (10+ messages)  latest in thread

Message-ID: <7a53b770-0e6c-4cb5-903d-180ff12d53e2@manitou-mail.org>
Permalink:  ../7a53b770-0e6c-4cb5-903d-180ff12d53e2@manitou-mail.org/
Also on:    postgresql.org/message-id/7a53b770-0e6c-4cb5-903d-180ff12d53e2@manitou-mail.org

 · 

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 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-general@postgresql.org
  Cc: daniel@manitou-mail.org, desidero@gmail.com
  Subject: Re: pgpass file type restrictions
  In-Reply-To: <7a53b770-0e6c-4cb5-903d-180ff12d53e2@manitou-mail.org>
  References: <CABvH9hXLDEhy8eGxLyXzaXMdPuQYd5_=f-u4VUZ4SQs_VMSe2Q@mail.gmail.com> <7a53b770-0e6c-4cb5-903d-180ff12d53e2@manitou-mail.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