path: root/discover
diff options
authorSamuel Mendoza-Jonas <>2019-02-15 10:40:56 +1100
committerSamuel Mendoza-Jonas <>2019-03-26 16:46:38 +1100
commit1ad18bf128c4edfae76adaffd9c7801355f29b91 (patch)
tree40808aac6ec04d42c62eb445f99c286372a29b06 /discover
parentf583f0cf35fc227db5f73ecd04daf7702735b740 (diff)
ui/ncurses: Add prompt for LUKS device password
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 <>
Diffstat (limited to 'discover')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud