Commit dd166339 authored by Milan Broz's avatar Milan Broz

Wipe iteration count and salt for wiped keyslot in LUKS header.

git-svn-id: 36d66b0a-2a48-0410-832c-cd162a569da5
parent 4a6edf0c
2010-08-05 Milan Broz <>
* Wipe iteration and salt after KillSlot in LUKS header.
2010-07-28 Arno Wagner <>
* Add FAQ (Frequently Asked Questions) file to distribution.
......@@ -796,6 +796,10 @@ int LUKS_del_key(const char *device,
return r;
/* Wipe keyslot info */
memset(&hdr->keyblock[keyIndex].passwordSalt, 0, LUKS_SALTSIZE);
hdr->keyblock[keyIndex].passwordIterations = 0;
r = LUKS_write_phdr(device, hdr, ctx);
return r;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment