Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 1995 06:59:43 -0800
From:      David Greenman <davidg@Root.COM>
To:        Mark Murray <mark@grondar.za>
Cc:        current@freebsd.org
Subject:   Re: Dual-personality crypt(3)!! 
Message-ID:  <199511121459.GAA02175@corbin.Root.COM>
In-Reply-To: Your message of "Sun, 12 Nov 95 15:54:46 %2B0200." <199511121354.PAA01842@grumble.grondar.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
>What do you think?
>
>I have modified the DES crypt(3) to do an MD5 (exportable-style
>"encryption" if the first three characters are "$1$". (Someone (PHK?)
>gave me the idea _ages_ ago.) This will allow folks to upgrade their
>machines to DES encryption without having to fix all the user passwords
>in master.passwd.
>
>If you want to test it - I'll give you a copy. I am testing it myself,
>and will commit it in a day or two if no-one objects?

   Hmmm... what if my DES password legitimately starts with "$1$"? Wouldn't it
be better to just try the DES password and if that fails (doesn't match), then
try using MD5?

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511121459.GAA02175>