]> git.ozlabs.org Git - petitboot/commitdiff
ui/ncurses: Add prompt for LUKS device password
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 14 Feb 2019 23:40:56 +0000 (10:40 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 26 Mar 2019 05:46:38 +0000 (16:46 +1100)
Implement device_add() in cui_client_ops and use this interface to
recognise when the server notifies the client of an encrypted device. A
"device header" will be created for this device and added to the menu
with no associated boot options.

The nc-auth prompt is extended to ask for a disk password when the device
header for an encrypted device is selected.
Assuming the password is correct pb-discover will remove the original
device and notify the client about the newly opened device, which will
be reflected in the menu.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>

No differences found