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(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>
Center for Information Technology Services
University of Oslo, Norway
PGP Public Key: http://folk.uio.no/rafael/