[NBLUG/talk] crypt

Walter Hansen gandalf at sonic.net
Tue Aug 15 18:53:10 PDT 2006


I've got file level encryption working. I'm trying device level encryption
again.

hydra:~# losetup -e AES128 -p 3 -K /etc/loopkey2.gpg /dev/loop0 /dev/sdd1
3< /etc/loop.pass
hydra:~# losetup -a
/dev/loop/0: [000b]:3952 (/dev/sdd1) encryption=AES128
hydra:~#

It doesn't look like it's going into tripple key mode to me.

I used this to generate the key
head -c 2925 /dev/random | uuencode -m - | head -n 66 | tail -n 65 | gpg
--symmetric -a >/etc/loopkey2.gpg






More information about the talk mailing list