[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Weird stuff in MD5 crypt in PAM 0.66



On Sun, 22 Aug 1999, Tuomo Pyhala wrote:

> On Sun, 22 Aug 1999, Savochkin Andrey Vladimirovich wrote:
> 
> > I don't think that this code needs a fix.  IMHO the hash is strong enough
> > without additional hacks like this loop.  On the other hand trying to fix the
> > loop will probably introduce some compatibility problems with passwords
> > hashed by previous versions of the code.
> 
> I once tried to understand that piece of code too, without success :(
> However, if i remember correct, the code stores also a number, which can
> be used to select the algorithm to hash the password.

That's correct.  My only concern here is that other platforms, such as
FreeBSD, also use MD5 password hashes.  Or so I heard.  Unless their hash
function also exhibits this behavior, you now have two incompatible MD5
hash functions out there.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []