bitlk: Clarify activation error message if clear key is present.

Fixes: #929
This commit is contained in:
Milan Broz
2025-01-15 13:35:29 +01:00
parent 33ebb36f71
commit bfae421c52

View File

@@ -1212,7 +1212,7 @@ static int _activate_check(struct crypt_device *cd,
next_vmk = params->vmks;
while (next_vmk) {
if (next_vmk->protection == BITLK_PROTECTION_CLEAR_KEY) {
log_err(cd, _("Activation of partially decrypted BITLK device is not supported."));
log_err(cd, _("Activation of BITLK device with clear key protection is not supported."));
return -ENOTSUP;
}
next_vmk = next_vmk->next;