You are not logged in.

#1 2005-12-16 20:36:58

wanderingidea
Member
From: The Hague, The Netherlands
Registered: 2004-12-24
Posts: 26
Website

losetup - no -H option?

Hi,

I would very much like to be able to use something like:
losetup -e AES-256 -H sha512 /dev/loop0 ./vol_aes256
but it seems that losetup lacks the option -H to specify the hash type.
All this is because I am testing FreeOTFE.
Is there a way to specify the hash type?

Thanks,

Cor

Offline

#2 2005-12-17 00:59:42

sh__
Member
Registered: 2005-07-19
Posts: 272

Re: losetup - no -H option?

You need either hashalot or patched losetup. Hashalot is in [current], so I think that is the preferred method. This would be the way to pipe the passphrase via hashalot:

hashalot sha512 | losetup -p0 -e AES-256 /dev/loop0 ./vol_aes256

Offline

#3 2005-12-17 11:38:28

wanderingidea
Member
From: The Hague, The Netherlands
Registered: 2004-12-24
Posts: 26
Website

Re: losetup - no -H option?

Thanksalot, will try hashalot!  big_smile

Offline

#4 2005-12-17 11:46:53

wanderingidea
Member
From: The Hague, The Netherlands
Registered: 2004-12-24
Posts: 26
Website

Re: losetup - no -H option?

big_smile  big_smile  big_smile And it works!

Offline

Board footer

Powered by FluxBB