Problem using pre 2.4.21 EFS in 2.6.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've created encrypted cdroms some time ago, and I am
able to mount them with a 2.4.21 kernel patched with:
patch-int-2.4.21.0.bz2
loop-jari-2.4.21.0.patch

And just using:
losetup -k 256 -e serpent /dev/loop0 /dev/cdrom
mount -t ext2 /dev/loop0 /cdrom

losetup /dev/loop0 shows that it is using
(serpent-cbc), encryption type 18.

The losetup is the 2.12 supplied by Debian Sid
(2.12-6).

When I use the 2.6.0-test10 kernel and load the
serpent and cryptoloop patches, doing the same results
in an error message stating that there's no filesystem
on the loopback.
"mount: wrong fs type, bad option, bad superblock ..."

When using losetup /dev/loop0, it shows that it is
using "encryption serpent (type 18)" without any
indication of using cbc, ebc, ...

So, I tried specifying it explicitly:
losetup -k 256 -e serpent-cbc /dev/loop0 /dev/cdrom
mount -t ext2 /dev/loop0 /cdrom


I read about the hashalot tool and tried it with
ripemd160, rmd160 and rmd160compat in combination with
and without the -N flag of losetup, both with and
without the -cbc postfix for the encryption type.

--nohashpass, -N
  Don't hash the password given.  (previous versions
hash, non-debian doesn't.


My question is: Is it possible to mount my encrypted
filesystems with a 2.6.x kernel or will I have to
convert all my CDROMs...?

If it is possible, does it require some patches to the
2.6.x kernel although it has the cryptostuff included?

I've searched the web, searched the mailinglist and
found that most are using AES. I didn't find any
answer to my question, so I'm asking for help on this
mailinglist. Any help would be greatly appreciated.

Thanks in advance!

Regards
Alex

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/



[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux