Re: Client-side password encryption

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Client-side password encryption
Date: 2006-01-05 12:23:50
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7E2A@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2006-01-05 13:09:04 Re: Client-side password encryption
Previous Message Andreas Pflug 2006-01-05 11:40:24 Re: Client-side password encryption