Re: [pgadmin-hackers] Client-side password encryption

2006-01-05 Thread Peter Eisentraut
Am Donnerstag, 5. Januar 2006 12:40 schrieb Andreas Pflug: > Ok, we'll use it ASAP. But how to detect if it's available or not? Some > #define PQENCRYPT_AVAILABLE 1 would be helpful. Just use AC_CHECK_FUNCS(PQencryptPassword) and you will get a definition like that. ---(

Re: [pgadmin-hackers] Client-side password encryption

2006-01-05 Thread Andreas Pflug
Peter Eisentraut wrote: Am Donnerstag, 5. Januar 2006 12:40 schrieb Andreas Pflug: Ok, we'll use it ASAP. But how to detect if it's available or not? Some #define PQENCRYPT_AVAILABLE 1 would be helpful. Just use AC_CHECK_FUNCS(PQencryptPassword) Um, no autoconf in our win32 environment...

Re: [pgadmin-hackers] Client-side password encryption

2006-01-05 Thread Andreas Pflug
Magnus Hagander wrote: The officially sanctioned function for this is now PQencryptPassword() in libpq. Please consider using it when available. Ok, we'll use it ASAP. But how to detect if it's available or not? Some #define PQENCRYPT_AVAILABLE 1 would be helpful. You're going to have

Re: [pgadmin-hackers] Client-side password encryption

2006-01-05 Thread Magnus Hagander
> > The officially sanctioned function for this is now > PQencryptPassword() > > in libpq. Please consider using it when available. > > Ok, we'll use it ASAP. But how to detect if it's available or > not? Some #define PQENCRYPT_AVAILABLE 1 would be helpful. You're going to have to detect this

Re: [pgadmin-hackers] Client-side password encryption

2006-01-05 Thread Andreas Pflug
Peter Eisentraut wrote: The officially sanctioned function for this is now PQencryptPassword() in libpq. Please consider using it when available. Ok, we'll use it ASAP. But how to detect if it's available or not? Some #define PQENCRYPT_AVAILABLE 1 would be helpful. Regards, Andreas ---

Re: [pgadmin-hackers] Client-side password encryption

2006-01-05 Thread Peter Eisentraut
The officially sanctioned function for this is now PQencryptPassword() in libpq. Please consider using it when available. I wrote: > Commands like CREATE USER foo PASSWORD 'bar' transmit the password in > cleartext and possibly save the password in various client or server > log files. I have j