Re: Storing the password in .pgpass file in an encrypted format

From: Szymon Guz <mabewlun(at)gmail(dot)com>
To: firoz e v <firoz(dot)ev(at)huawei(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Storing the password in .pgpass file in an encrypted format
Date: 2014-02-21 12:53:01
Message-ID: CAFjNrYsaqVC6PrtSi04MAq3DgWqDtVaEYo435sAN3x3QVdxxvQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21 February 2014 13:49, firoz e v <firoz(dot)ev(at)huawei(dot)com> wrote:

> Hi,
>
>
>
> Is there a way to store the password in “.pgpass” file in an encrypted
> format (for example, to be used by pg_dump).
>
>
>
> Even though, there are ways to set the permissions on .pgpass, to disallow
> any access to world or group, the security rules of many organizations
> disallow to hold any kind of passwords, as plain text.
>
>
>
> If there is no existing way to do this, shall we take up this, as a patch?
>
>
>
> Regards,
>
> Firoz EV
>
>
>

And where are you going to keep the passwords to decrypt these passwords
(for example to be used by pg_dump)?

regards,
Szymon

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christian Kruse 2014-02-21 13:04:51 Re: Patch: show xid and xmin in pg_stat_activity and pg_stat_replication
Previous Message Andres Freund 2014-02-21 12:49:37 Re: Patch: show xid and xmin in pg_stat_activity and pg_stat_replication