[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] SQL Password Storage Format?
From: |
Ken Simpson |
Subject: |
Re: [Help-gnu-radius] SQL Password Storage Format? |
Date: |
Thu, 9 May 2002 10:34:14 -0700 (PDT) |
Hi Sergey,
What format is the MD5 hash stored in? I store my MD5s as a hex digest,
e.g. 7c3095ff47666a0d9e40034512d54710. But on my RedHat system, it seems
to be stored using something like base64.
Can gnu-radius be configured to accept hex digests instead of base64 (or
whatever it is)?
Thanks,
Ken
--
Secure Broadband Wireless. Why wait? FatPort is here.
http://www.FatPort.com -- 1-866-FAT-PORT (328-7678)
On Thu, 9 May 2002, Sergey Poznyakoff wrote:
> > I assumed that I could just store the md5 hash of my passwords, but that
> > doesn't seem to work. Do you have to prepend {md5} or something like that?
>
> When Auth-Type is set to SQL, the database is assumed to contain usual
> MD5 hashed passwords. These are not to be confused with MD5
> hashes. The hashed password is:
>
> '$1$' + SALT + '$' + MD5HASH
>
>
> where strings enclosed in a pair of quotes appear as they are,
> + denotes concatenation, SALT is the salt value used when generating
> hash and MD5HASH is the hash value itself.
>
> If your system is able to keep MD5 encoded passwords in its
> passwd/shadow database, you will see the same format used there.
>
> Regards,
> Sergey
>
> _______________________________________________
> Help-gnu-radius mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-gnu-radius
>
>