Hacker News new | ask | show | jobs
by deutschepost 1068 days ago
Maybe a bit off topic, but does anyone know about themes or GUIs for LUKS password entry? The command line version has pretty unintuitive behaviour for family members which are used to modern GUIs.
5 comments

With a little config you can do that using Plymouth, a number of themes for it have have custom themed LUKS prompts.

https://wiki.archlinux.org/title/plymouth https://forum.manjaro.org/t/how-to-theme-luks/79792/2

Not something you could script up using https://help.gnome.org/users/zenity/3.32/password.html.en or similar?
That would require a full GTK installation in initramfs, which would be a bit heavy.
Ah, by GUI I assumed you meant something good indeed booted for hunting things like homes. For during the boot process for mounting an encrypted root, a TUI using something like dialog (https://invisible-island.net/dialog/dialog.html#screenshot and commonly available in Linux distributions standard repositories) would probably be more suited. IIRC it is what Debian use for their text installer. It should be pretty light weight, though it is still something you are scripting and adding to initramfs yourself so there may be more pre-made options that require less manual maintenance.
(hunting -> mounting - didn't notice until the edit option has expired)
Fedora does that automatically if encryption enabled on install.
Yeah go echo a below comment, unless something is broken Ubuntu and Fedora both do this already.
Plymouth? I tested it a long time ago but I can remember it having a password entry prompt.