@thebell
Do you found a solution?
I have "Linux redhat 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 athlon i386 GNU/Linux" / Fedora Core2. I installed the newest util-linux Version 2.12a, with no success.
I think i need a "international" kernel patch, but there is no avaible for 2.6.5.
My old rh8 linux, with "-k" support:
Code:
# uname -a
Linux Samba 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 athlon i386 GNU/Linux
# losetup
usage:
losetup loop_device # give info
losetup -d loop_device # delete
losetup [ options ] loop_device file # setup
where options include
--offset <num>, -o <num>
start at offset <num> into file.
--pass-fd <num>, -p <num>
read passphrase from file descriptor <num>
instead of the terminal.
--encryption <cipher>, -e <cipher>
encrypt with <cipher>.
Check /proc/crypto/cipher for available ciphers.
--keybits <num>, -k <num>
specify number of bits in the hashed key given
to the cipher. Some ciphers support several key
sizes and might be more efficient with a smaller
key size. Key sizes < 128 are generally not
recommended
--phash <hash>, -P <hash>
specify <hash> to use for hashing the passphrase
(supported: rmd160old, sha256, sha384, sha512)
new fedora c2:
Code:
#uname -a
Linux redhat 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 athlon i386 GNU/Linux
#losetup
losetup loop_device # give info
losetup -d loop_device # delete
losetup [ -e encryption ] [ -o offset ] loop_device file # setup