WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] use of encrypted filesystem

To: "Michael Froh" <michael.froh@xxxxxxxxxx>
Subject: Re: [Xen-users] use of encrypted filesystem
From: "Anand Gupta" <xen.mails@xxxxxxxxx>
Date: Thu, 28 Dec 2006 16:22:49 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 28 Dec 2006 03:15:16 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Hj7ugXz7wRdSsiverYedRMPOZHPFa+Ox3i6WspCtldhdXClrpIXvOlFg7yZDr4V6H8Nynuqfn6GnvSKKlxQzzye/1SuaZuJHHqthDzQsa9QtFKZLX+Ek1RDWG9WZWGymtatIs8DHMQ8pgq8SOePdvTMtFtBjj3toH3/0RD7T30c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6AA480DA-59B3-4464-A374-1D5EBCAA2C2B@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <E1Gzi63-0005HQ-PH@host-192-168-0-1-bcn-london> <6AA480DA-59B3-4464-A374-1D5EBCAA2C2B@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dear Micheal,

Thanks for the response.

On 12/28/06, Michael Froh <michael.froh@xxxxxxxxxx> wrote:
The use of loop-aes requires the kernel module loop.o and the aes key to be fed 
using standard input and uuencoded.  The loop-AES.README is at 

An example from that document to fill an encrypted partition with random data is as follows:
    head -c 15 /dev/urandom | uuencode -m - | head -n 2 | tail -n 1 \
        | losetup -p 0 -e AES128 /dev/loop3 /dev/hda666
    dd if=/dev/zero of=/dev/loop3 bs=4k conv=notrunc 2>/dev/null
    losetup -d /dev/loop3

This example uses a random key with loop-aes, then a dd fill of zeros is converted 
to random ciphertext.  Note the uuencoding of /dev/urandom output and it being
piped into losetup.

I have checked the modules and i am able to load them using modprobe.


--
regards,

Anand Gupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>