Re: Passwd format?

From: Ivan Voras <ivoras_at_fer.hr>
Date: Sat, 13 Nov 2004 18:27:38 +0100
Poul-Henning Kamp wrote:
> In message <4196398D.2030000_at_fer.hr>, Ivan Voras writes:
> 
>>The Handbook and crypt(3) say passwords in master.passwd are MD5 hashes 
>>if they start with $1$, for example:
>>
>>$1$DP.s8oCc$VJo0/026/S5ng6HlD1Sz8/
>>
>>the format is $1$salt$rest. I have several questions:
>>
>>How are the values encoded? This looks something like base64.

> Search for "md5crypt.c" in google and you'll find the source.

This looks like it:
http://mia.ece.uic.edu/cgi-bin/lxr/http/source/md5crypt.c?v=openssh-3.5p1

It seems it's definitely NOT reusable in LDAP :(
Received on Sat Nov 13 2004 - 16:27:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:22 UTC