Re: loop device encryption with Fedora 11 and losetup -e

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

 



Patrick Mansfield wrote:
Hi all -

What valid encryptions can be used under Fedora 11 with losetup?

Do I need to manually load the corresponding kernel module? Loading
aes_i586 and/or aes_generic made no difference.


modprobe cryptoloop

Are there now better alternatives than using "losetup -e"?

I keep getting EINVAL while trying to use "losetup -e".

I'm running with the latest updates, kernel is 2.6.30.5-43.fc11.i686.PAE

The only thing I can use is "-e 1" or "-E 1", losetup tells me that is
just an XOR encryption.

These fail:

# losetup -e 2 /dev/loop0 ./test.image
Password:
ioctl: LOOP_SET_STATUS: Invalid argument
# losetup -e aes /dev/loop0 ./test.image
Password:
ioctl: LOOP_SET_STATUS: Invalid argument

These both work (losetup -e and -E seem to be treated the same):

# losetup -e 1 /dev/loop0 ./test.image
Password:
# losetup /dev/loop0
/dev/loop0: [fd02]:3918266 (/home/test/data_images/test.image), encryption XOR (type 1)
# losetup -d /dev/loop0
# losetup -E 1 /dev/loop0 ./test.image
Password:
# losetup /dev/loop0
/dev/loop0: [fd02]:3918266 (/home/test/data_images/test.image), encryption XOR (type 1)

-- Patrick Mansfield



--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux