[dm-crypt] Key-Slot Checker Tool
arno at wagner.name
Sun Sep 9 02:41:09 CEST 2012
I just wrote a very simple key-slot checker. It divides all
active keyslots into 512 byte sectors and calculates entropy
for each. For valid encrypted data, entropy will be close
to 0.95 on average (would be 1, but this is sample entropy,
calculated on a limited data set).
No fancy output, no library usage (but verifies LUKS version),
support for non-default key-sizes and setting your own entropy
threshold. I put in 0.85 as default threshold, which should work
Now I am not sure where to put it. Should I put it in
misc/ in the sources? That seems to be sort of a contrib/
directory. Or should we add a section in the Wiki for
Anyways, if anybody want to test it, it is attached.
Compile instructions at the head of the file.
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno at wagner.name
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
One of the painful things about our time is that those who feel certainty
are stupid, and those with any imagination and understanding are filled
with doubt and indecision. -- Bertrand Russell
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7625 bytes
Desc: not available
More information about the dm-crypt