Re: Client-side password encryption - Mailing list pgadmin-hackers

From Magnus Hagander
Subject Re: Client-side password encryption
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C7E2A@algol.sollentuna.se
Whole thread Raw
In response to Client-side password encryption  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Client-side password encryption  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-hackers
> > 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 at runtime, aren't you? With that,
GetProcAddress() on win32 and whatever it's called on *nix should be the
way to go?


//Magnus

pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: Client-side password encryption
Next
From: Andreas Pflug
Date:
Subject: Re: Client-side password encryption