mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Although HMAC keys can be associated to volumes of type 'LUKS2', the dummy passphrase can only be set to AES-type keys, i.e. to keys that encrypt the volume. Reject trying to set a dummy passphrase for an HMAC key with a volume type of 'LUKS2'. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Finn Callies <fcallies@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>