Tell me more ×
IT Security Stack Exchange is a question and answer site for IT security professionals. It's 100% free, no registration required.

I use dm-crypt how can I change ask for password text:

"No key available with this passphrase."

this is store in libcryptsetup.so.1 probably:

# grep "No key" * -R
Binary file initrd/lib/libcryptsetup.so.1 matches
Binary file initrd/sbin/cryptsetup matches
Binary file initrd.img-3.2.0-1-686-pae matches

I wanna made some fake text, because in my country not give the correct password is fraught with problems... so I wanna make some text like "wipe done, please entry another HDD" (because encrypted data looks like random data).

Sorry for my english lang.

share|improve this question
Download the project, grep though the source code for that message, then compile it. Children can do this. – Rook Apr 8 '12 at 17:13
Where can I download libcryptsetup.so.1 source? I can't found. – Someone1234 Apr 8 '12 at 17:31

closed as off topic by Rook, makerofthings7, Gilles, Rory Alsop Apr 8 '12 at 19:33

Questions on IT Security Stack Exchange are expected to relate to IT security within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

As mentioned by Rook, find the package for dm-crypt by your distribution maintainer, grep for the string, edit, recompile and install it. You won't be able to solve this problem if you can't compile a program.

Also, it will get you in even more problems because it is possible to disassemble your boot loader and see that you've changed the strings. Even if you really wipe your drive, a forensic professional would always make a backup of your harddrive.

share|improve this answer
I work in forensic... and noone can recover data after wipe... second if you see what I past this is grep of initrd where this is store, and question is how edit libcryptsetup.so.1, there is no source of lib in repo – Someone1234 Apr 8 '12 at 20:13
ok, then you should now that you make copy of the harddrive to recover lost data and to use it as an evidence. There must be the source or your os is not open source. – sfx Apr 8 '12 at 22:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.