Re: MD5 Authentication

Поиск
Список
Период
Сортировка
От Raimon Fernandez
Тема Re: MD5 Authentication
Дата
Msg-id 9FD09F60-32F8-44E8-A5CC-65201DBFBF2D@montx.com
обсуждение исходный текст
Ответ на Re: MD5 Authentication  (Raimon Fernandez <coder@montx.com>)
Ответы Re: MD5 Authentication  (John DeSoi <desoi@pgedit.com>)
Список pgsql-general
On 05/11/2009, at 18:24, Raimon Fernandez wrote:

>
> On 05/11/2009, at 18:02, Rafael Martinez wrote:
>
>> Raimon Fernandez wrote:
>>>
>>> On 05/11/2009, at 16:49, Rafael Martinez wrote:
>>>
>>>>
>>>> The md5 authentication in PostgreSQL works this way:
>>>>
>>>> server -------------- 4-byte token --------------------------->
>>>> client
>>>> server <--- "md5" + md5(md5(password + username) + token) ----
>>>> client
>>>
>>> Where did gou get this ?
>>>
>>> I can't find it in the docs ...
>>>
>>
>>
>> From an e-mail from Tom Lane about this:
>> http://archives.postgresql.org/pgsql-novice/2003-05/msg00305.php
>
> ok, thanks ...

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 ?

thanks,

regards,

r.


В списке pgsql-general по дате отправления:

Предыдущее
От: Raimon Fernandez
Дата:
Сообщение: Re: MD5 Authentication
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: sudoku in an sql statement