Re: Script for loop-AES key generation

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

 



Max Vozeler wrote:
> Let me know if you encounter any problems using it or have
> suggestions/patches for improvement. :-)

There have been few cases where v3 key file and v2 losetup/mount were used
to set up a file system, and after upgrade to v3 losetup/mount, mounting the
file system failed. There is a warning about this problem in loop-AES README
file, but not everyone reads README files.

May I suggest adding a check that losetup is recent enough. Something like
this:

    strings /sbin/losetup | grep -q -s multi-key-v3
    if [ $? != 0 ] ; then
        echo "too old losetup version"
    fi

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
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