Re: You're on SecurityFocus.com for the cleartext passwords.

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: You're on SecurityFocus.com for the cleartext passwords.
Date: 2000-05-07 20:19:04
Message-ID: 3915CFB8.BDCB5A26@tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"Robert B. Easter" wrote:
>
> On Sun, 07 May 2000, Hannu Krosing wrote:
> >
> > But how will you know if the data in the field is md5 hashed ?
>
> I think they begin with $1$ and that the salt in the hashed string is like this:

how do you distinguish it from a plaintext password thet starts with $1$
?

> $1$<salt>$ -- a total of 12 characters of salt if you include the $1$$
> characters. <salt> is 9 characters. Someone can correct me if this is not
> true. I'm not an expert. :)

Well in Zope they begin with {MD5} for MD5 hash. The md5 hash itself
knows
nothing about salt - it is just fed to the function before the password.
And the digest can begin with anything, possibly even \0 if not
{uu|base64}encoded

------------
Hannu

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert B. Easter 2000-05-07 21:04:52 Re: You're on SecurityFocus.com for the cleartext passwords.
Previous Message Hannu Krosing 2000-05-07 20:11:34 Re: So we're in agreement....

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert B. Easter 2000-05-07 21:04:52 Re: You're on SecurityFocus.com for the cleartext passwords.
Previous Message Hannu Krosing 2000-05-07 20:11:34 Re: So we're in agreement....