[syslinux] MENU / SHA1 passwords not working.
H. Peter Anvin
hpa at zytor.com
Mon Jan 14 19:28:32 PST 2008
Simon Daniels wrote:
> Hi. I'm having a problem with hashing passwords for use in the menu.
>
> If I specify plain passwords in my config it works file:
>
>
> MENU MASTER PASSWD $4$9qj4qv8g$HQ6Jl6TVrpign78XeofX2OLmfJo$
>
> MENU PASSWD test123 $4$B4LW6NPr$xYYfSoakhfLpWE7+l8zU0MdAlIA$
^^^^^^^
EH?
>
> simon1 at eb280-simon:~/syslinux-3.52$ sha1pass 1234567890
> $4$9qj4qv8g$HQ6Jl6TVrpign78XeofX2OLmfJo$
>
Looks right...
>
> I notice I get a different hash every time when using the same arg. Is this
> correct?
>
That's normal.
>
> I ran cpan install Digest::SHA1 to install the missing lib then all was ok.
>
> I can't get the MD5pass script to run as it's missing a lib but running cpan
> install Digest::MD5 reports that my MD5 is up to date?
>
use Crypt::PasswdMD5;
use MIME::Base64;
Not Digest::MD5...
-hpa
More information about the Syslinux
mailing list