Re: [HACKERS] askpass program for libpq

2013-06-15 Thread Daniel Farina
On Sat, Jun 15, 2013 at 8:55 PM, Tom Lane wrote: > Daniel Farina writes: >>> Okay, I have a patch that does something *like* (but not the same) as >>> this, and whose implementation is totally unreasonable, but it's >>> enough to get a sense of how the whole thing feels. Critically, it >>> goes

Re: [HACKERS] askpass program for libpq

2013-06-15 Thread Tom Lane
Daniel Farina writes: >> Okay, I have a patch that does something *like* (but not the same) as >> this, and whose implementation is totally unreasonable, but it's >> enough to get a sense of how the whole thing feels. Critically, it >> goes beyond askpass, instead allowing a shell-command based h

Re: [HACKERS] askpass program for libpq

2013-06-15 Thread Daniel Farina
On Fri, May 17, 2013 at 2:03 PM, Daniel Farina wrote: > On Wed, Jan 9, 2013 at 5:17 AM, Peter Eisentraut wrote: >> I would like to have something like ssh-askpass for libpq. The main >> reason is that I don't want to have passwords in plain text on disk, >> even if .pgpass is read protected. By

Re: [HACKERS] askpass program for libpq

2013-05-17 Thread Daniel Farina
On Fri, May 17, 2013 at 2:03 PM, Daniel Farina wrote: > Thanks for getting through all that text. Fin. And, thoughts? I have uploaded the resolvers, the last mail, and the patch to github: https://github.com/fdr/pq-resolvers So, if one prefers to use git to get this and track potential change

Re: [HACKERS] askpass program for libpq

2013-05-17 Thread Daniel Farina
On Wed, Jan 9, 2013 at 5:17 AM, Peter Eisentraut wrote: > I would like to have something like ssh-askpass for libpq. The main > reason is that I don't want to have passwords in plain text on disk, > even if .pgpass is read protected. By getting the password from an > external program, I can inte

Re: [HACKERS] askpass program for libpq

2013-01-09 Thread Magnus Hagander
On Wed, Jan 9, 2013 at 2:17 PM, Peter Eisentraut wrote: > I would like to have something like ssh-askpass for libpq. The main > reason is that I don't want to have passwords in plain text on disk, > even if .pgpass is read protected. By getting the password from an > external program, I can inte

[HACKERS] askpass program for libpq

2013-01-09 Thread Peter Eisentraut
I would like to have something like ssh-askpass for libpq. The main reason is that I don't want to have passwords in plain text on disk, even if .pgpass is read protected. By getting the password from an external program, I can integrate libpq tools with the host system's key chain or wallet thin