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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux