Re: [PATCHES] Re: [HACKERS] User authentication bug?

Поиск
Список
Период
Сортировка
Искать
От
Michael Graff
Тема
Re: [PATCHES] Re: [HACKERS] User authentication bug?
Дата
Msg-id
v6d8ajw44u.fsf@kechara.lh.vix.com
Список
Дерево обсуждения
Re: [HACKERS] User authentication bug? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] User authentication bug? Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl>
Re: [INTERFACES] Re: [HACKERS] User authentication bug? Tom Lane <tgl@sss.pgh.pa.us>
Re: [INTERFACES] Re: [HACKERS] User authentication bug? Maarten Boekhold <maartenb@dutepp2.et.tudelft.nl>
Re: [INTERFACES] Re: [HACKERS] User authentication bug? Maarten Boekhold <maartenb@dutepp2.et.tudelft.nl>
Tom Lane  writes:

> With the attached patch, I have verified that long (> 8char anyway)
> usernames and passwords work correctly in both "password" and "crypt"
> authorization mode.  NOTE: at least on my machine, it seems that the
> crypt() routines ignore the part of the password beyond 8 characters,
> so there's no security gain from longer passwords in crypt auth mode.
> But they don't fail.

Which is why postgres should use MD5, salted with the username, as a
password one-way hash.  :)

--Michael
В списке pgsql-interfaces по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] psqlodbc
От: Tom Lane
Дата:
FAQ