From 5f8fa2c151b8f0e568dc4015b7d307250b354a04 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Fri, 15 Feb 2019 10:39:30 +1100 Subject: lib: Add AUTH_MSG_DECRYPT Extend the auth_message struct to support the AUTH_MSG_DECRYPT operation, allowing the existing authentications methods to be used for passing a disk password from the UI to pb-discover. In addition add DEVICE_TYPE_LUKS to identify encrypted disk devices. Signed-off-by: Samuel Mendoza-Jonas --- ui/test/discover-test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/test') diff --git a/ui/test/discover-test.c b/ui/test/discover-test.c index f3e7dd8..6fb14de 100644 --- a/ui/test/discover-test.c +++ b/ui/test/discover-test.c @@ -16,6 +16,8 @@ static const char *device_type_string(enum device_type type) return "optical"; case DEVICE_TYPE_ANY: return "any"; + case DEVICE_TYPE_LUKS: + return "encrypted"; case DEVICE_TYPE_UNKNOWN: return "unknown"; } -- cgit v1.2.1