Re: How to interpret the salt sent in the AuthenticationMD5Password message from the server.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to interpret the salt sent in the AuthenticationMD5Password message from the server.
Дата
Msg-id 3307.1600284172@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to interpret the salt sent in the AuthenticationMD5Password message from the server.  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> In short, what is the format of the salt sent to the server?

I think you might have a conceptual error here.  The salt is sent
from the server to you, not the other way around.  It's just four
random bytes in the AuthenticationMD5Password message, which I'm
pretty sure you should incorporate verbatim in your MD5 input.

The bytes are just binary data, they're not ASCII or encoded
in some way.

            regards, tom lane



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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: How to interpret the salt sent in the AuthenticationMD5Password message from the server.
Следующее
От: PG Doc comments form
Дата:
Сообщение: Magic number for SSLRequest