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

Re: Encrypted SWAP with keyfile



* Ariel Laganá <it@ariellagana.com.ar> wrote:

> I have lenny installed on a PC in which I'm trying to use an
> encrypted swap partition with LUKS, but I want to use a keyfile
> instead of a passphrase to unlock it.

Just for the record, there's also loop-AES out there ;-)

quoting from its README:

(swapoff -a)

add the following line to /etc/fstab (adapted to your sys ofc)

/dev/hda666 none swap sw,loop=/dev/loop6,encryption=AES128 0 0

then just once mkswap /dev/hda666 

(swapon -a)

and yar done.

-- 
left blank, right bald

Attachment: pgpza0M0BQK01.pgp
Description: PGP signature


Reply to: