Skip to content

Commit

Permalink
bitlk: Clarify activation error message if clear key is present.
Browse files Browse the repository at this point in the history
Fixes: #929
  • Loading branch information
mbroz committed Jan 15, 2025
1 parent 33ebb36 commit bfae421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bitlk/bitlk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bfae421

Please sign in to comment.