Hi all, back for more. So I decided it was about time I encrypted all that porn :-)
Well as you can see from my sig I am running Slack 13 and unfortunately did not discover the readme_crypt.txt on the installation cd until it was far too late. Not to worry, many hours burned and things learned.
So I compiled and installed cryptsetup and for my test encryption I am using an external usb harddrive (sdb3).
First off cryptsetup kept segfaulting with the luksFormat command and this seems to be a know bug. The workaround it to pass USE="dynamic" to config before you build the package. Then
Code:
# cryptsetup.dynamic -h sha512 --verify-passphrase luksFormat /dev/sdb3 test-crypt
# cryptsetup luksOpen /dev/sdb3
# mount /dev/mapper/test-crypt /mnt/tmp
mount: special device /dev/mapper/test-crypt does not exist
Ooops, and that is my problem. I cannot mount the encrypted device even though it is clearly showing with 'ls /dev/mapper/'. I guess I have missed a step or if not something is wrong.
Also, one last thing, I keep seeing references to 'cat /proc/crypto' to see a list of kernel supported algorithms but my /proc/crypto is empty?
As always pointers and ideas very much appreciated.
BashTin.