lib: Add AUTH_MSG_DECRYPT
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 14 Feb 2019 23:39:30 +0000 (10:39 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 5 Mar 2019 20:54:10 +0000 (09:54 +1300)
commit5f8fa2c151b8f0e568dc4015b7d307250b354a04
tree70f626a58f3f83c53dfb0194bbcf77584dbdf00a
parentba8144f917f5603e507e9c72aed4ae3257c6b0ce
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 <sam@mendozajonas.com>
lib/pb-protocol/pb-protocol.c
lib/pb-protocol/pb-protocol.h
lib/types/types.c
lib/types/types.h
ui/test/discover-test.c