Re: MD5 Authentication

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Raimon Fernandez <coder(at)montx(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: MD5 Authentication
Date: 2009-11-06 05:27:55
Message-ID: 28DDDB26-D9E1-4737-A812-48963A5D3737@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-11-06 06:05:32 Re: Re: Bench marking performance or experience using Solid State Disk Drives (SSD) with postgres
Previous Message Stephen Tyler 2009-11-06 04:05:17 Re: Bench marking performance or experience using Solid State Disk Drives (SSD) with postgres