Menu login with encrypted password - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Menu login with encrypted password (/showthread.php?tid=10526) |
Menu login with encrypted password - philthynz - 2017-11-10 17:06 I am using "login" and "iseq" to password protect a certain part of ipxe. Is there a way of using an encrypted password in a string? Currently i use: login || goto start iseq ${username} admin || goto menu-os iseq ${password} admin || goto menu-os And those strings are clear text. Looking for something like "grub-crypt". RE: Menu login with encrypted password - robinsmidsrod - 2017-11-14 10:09 I don't recall if the hash functions have been extended to allow storing into a variable or not. Carefully check the git commit log for details or ask on IRC. If they have been extended to support this behavior then you can use a sha1 or md5 checksum of the password and compare against that. That is at least a little bit better than just having everything in plain-text. RE: Menu login with encrypted password - philthynz - 2017-11-16 14:16 Ok, i didn't find any recent commit allowing hash in iseq. Unless there is another way to have an encrypted login. RE: Menu login with encrypted password - Torgeir - 2017-11-20 22:56 Can you use HTTP auth??? http://ipxe.org/cmd/login #!ipxe login chain http://${username}:${password}@my.web.server/boot.ipxe — T |