Re: MD5 Authentication - Mailing list pgsql-general

From John DeSoi
Subject Re: MD5 Authentication
Date
Msg-id 28DDDB26-D9E1-4737-A812-48963A5D3737@pgedit.com
Whole thread Raw
In response to Re: MD5 Authentication  (Raimon Fernandez <coder@montx.com>)
Responses Re: MD5 Authentication  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: MD5 Authentication  (Raimon Fernandez <coder@montx.com>)
List pgsql-general
On Nov 5, 2009, at 12:35 PM, Raimon Fernandez wrote:

> at least, my first md5 (psw+user) is the same as the pg_shadow
> (wihtout the 'md5') ...
>
> should I md5 the first md5 as I get it as string (like username) or
> byte by byte ?

As far as I know, a string. But it is unclear to me what happens when
the user or database name has non-ascii characters. The client
encoding is not established until after authentication.

I asked about that a while ago but did not get any responses.

http://archives.postgresql.org/pgsql-general/2008-12/msg00808.php



John DeSoi, Ph.D.





pgsql-general by date:

Previous
From: Stephen Tyler
Date:
Subject: Re: Bench marking performance or experience using Solid State Disk Drives (SSD) with postgres
Next
From: Scott Marlowe
Date:
Subject: Re: Re: Bench marking performance or experience using Solid State Disk Drives (SSD) with postgres