Re: MD5 Authentication - Mailing list pgsql-general

From Rafael Martinez
Subject Re: MD5 Authentication
Date
Msg-id 4AF2F414.3000502@usit.uio.no
Whole thread Raw
In response to MD5 Authentication  (Raimon Fernandez <coder@montx.com>)
Responses Re: MD5 Authentication
List pgsql-general
Raimon Fernandez wrote:
> Hello again ...
>
>
> I'm trying to Authenticate to some PostgreSQL using MD5.
>
> I can get the salt, for example:
>
> A7 2E DB 2F
>

Hello

The md5 authentication in PostgreSQL works this way:

server -------------- 4-byte token ---------------------------> client
server <--- "md5" + md5(md5(password + username) + token)" ---- client

regards
- --
 Rafael Martinez, <r.m.guerrero@usit.uio.no>
 Center for Information Technology Services
 University of Oslo, Norway

 PGP Public Key: http://folk.uio.no/rafael/



pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: MD5 Authentication
Next
From: Sam Mason
Date:
Subject: Re: pg_dump native format will not restore correctly