Re: [pgadmin-hackers] Client-side password encryption - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: [pgadmin-hackers] Client-side password encryption
Date
Msg-id 20051219093728.GB12251@svana.org
Whole thread Raw
In response to Re: [pgadmin-hackers] Client-side password encryption  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-hackers
On Mon, Dec 19, 2005 at 09:16:19AM -0000, Dave Page wrote:
> > > > Something like
> > > >     char *pg_gen_encrypted_passwd(const char *passwd, const
> > > > char *user)
> > > > with malloc'd result (or NULL on failure) seems more future-proof.

> > If programs are really worried about it, they should lookup the
> > function dynamically rather than statically...
>
> For the sake of a simple name change?

The function as stated above doesn't exist yet, so we're adding a new
function, not changing the name of one. The function that started the
thread is not even exported by libpq so changing that shouldn't affect
anybody. Besides, this whole discussion is moot until someone writes
such a function.

As for Windows DLL hell, I don't know a lot about that, but if that's
such a problem, why didn't the original creators of the windows port
stick the version number in there from the start. On UNIX, libpq is
half versioned (the library is, but not the symbols) so I would have
thought copying that idea would have been obvious.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: [pgadmin-hackers] Client-side password encryption
Next
From: "Dave Page"
Date:
Subject: Re: [pgadmin-hackers] Client-side password encryption