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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Vince Vielhaber <vev(at)michvhf(dot)com>, "Sverre H(dot) Huseby" <sverrehu(at)online(dot)no>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: So we're in agreement....
Date: 2000-05-07 04:03:16
Message-ID: 13104.957672196@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

The Hermit Hacker <scrappy(at)hub(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-05-07 04:10:02 Re: You're on SecurityFocus.com for the cleartext passwords.
Previous Message Bruce Momjian 2000-05-07 03:43:06 Re: So we're in agreement....

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-05-07 04:10:02 Re: You're on SecurityFocus.com for the cleartext passwords.
Previous Message Bruce Momjian 2000-05-07 03:43:06 Re: So we're in agreement....