Re: So we're in agreement....

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: So we're in agreement....
Дата
Msg-id 13104.957672196@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: So we're in agreement....  (The Hermit Hacker <scrappy@hub.org>)
Ответы Re: So we're in agreement....  (Vince Vielhaber <vev@michvhf.com>)
Список pgsql-hackers
The Hermit Hacker <scrappy@hub.org> writes:
> So, we're going to go with less security then is available on most Unix
> OSs?  

What's your evidence for that assertion?  Garfinkel & Spafford's
_Practical Unix and Internet Security_ recommends MD5 as a *more*
secure method for storing passwords than crypt() (page 720 in my
copy).  DES is almost 20 years older than MD5, so I'm not sure
why you'd assume that it must be more secure.

> if we are going to do this, *please* just use the regular system
> crypt() function

Half of the argument for touching the issue at all is that we have a
lot of problems with crypt() --- not available on some platforms,
inconsistent results across platforms (not proven yet, but seems likely)
and a serious pain in the neck for our shared libraries to boot.
If we have to stick with crypt I'm not sure it's worth doing anything.


BTW, Vince, I see no need to reverse-engineer a Java implementation
into C.  The original spec includes a C implementation ... and it
looks to have a reasonably BSDish license.  See RFC 1321, eg at 
http://www.faqs.org/rfcs/rfc1321.html
        regards, tom lane


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

Предыдущее
От: "Robert B. Easter"
Дата:
Сообщение: Re: You're on SecurityFocus.com for the cleartext passwords.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: You're on SecurityFocus.com for the cleartext passwords.