Re: MD5 Authentication

Поиск
Список
Период
Сортировка
От Rafael Martinez
Тема Re: MD5 Authentication
Дата
Msg-id 4AF2F414.3000502@usit.uio.no
обсуждение исходный текст
Ответ на MD5 Authentication  (Raimon Fernandez <coder@montx.com>)
Ответы Re: MD5 Authentication  (Raimon Fernandez <coder@montx.com>)
Список 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 по дате отправления:

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: MD5 Authentication
Следующее
От: Sam Mason
Дата:
Сообщение: Re: pg_dump native format will not restore correctly