Menu login with encrypted password
|
2017-11-10, 17:06
Post: #1
|
|||
|
|||
Menu login with encrypted password
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". |
|||
2017-11-14, 10:09
Post: #2
|
|||
|
|||
RE: Menu login with encrypted password
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.
|
|||
2017-11-16, 14:16
Post: #3
|
|||
|
|||
RE: Menu login with encrypted password
Ok, i didn't find any recent commit allowing hash in iseq. Unless there is another way to have an encrypted login.
|
|||
2017-11-20, 22:56
(This post was last modified: 2017-11-20 22:59 by Torgeir.)
Post: #4
|
|||
|
|||
RE: Menu login with encrypted password
Can you use HTTP auth???
http://ipxe.org/cmd/login #!ipxe login chain http://${username}:${password}@my.web.server/boot.ipxe — T |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)