Re: aespipe - pros and con

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

 



Hang on - I think I might have got the wrong idea - 
when Yari says the following in the aesipe readme, is
is this meant to imply that loop-aes v.3 +
loop-aes-utils must be installed in order to mount the
encrypted filesystem as he describes? I think maybe
so.

3.4. Example 4 - Adding encryption to existing file
system
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Create 65 random encryption keys and encrypt those
keys using gpg. Reading
from /dev/random may take indefinitely long if
kernel's random entropy pool
is empty. If that happens, do some other work on some
other console (use
keyboard, mouse and disks). Use of gpg-encrypted key
file depends on
encrypted swap.

    umask 077
    head -c 2925 /dev/random | uuencode -m - | head -n
66 | tail -n 65 \
        | gpg --symmetric -a >/etc/fskey1.gpg

Add loop-AES (v3.0a or later) compatible encryption to
1.44 MB floppy disk:

    dd if=/dev/fd0 bs=64k | aespipe -K /etc/fskey1.gpg
| dd of=/dev/fd0 bs=64k conv=notrunc

Encrypted floppy can be mounted and unmounted under
Linux like this:

    mount -t ext2 /dev/fd0 /floppy -o
loop=/dev/loop1,encryption=AES128,gpgkey=/etc/fskey1.gpg
    umount /floppy

Remove encryption from loop-AES encrypted 1.44 MB
floppy disk:

    dd if=/dev/fd0 bs=64k | aespipe -d -K
/etc/fskey1.gpg | dd of=/dev/fd0 bs=64k conv=notrunc


--- Toby <tobia.conforto@xxxxxxxx> wrote:.
> 
> Loop-aes on the other hand lets you *mount* an
> encrypted filesystem ...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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