Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105113 - sys-apps/util-linux /etc/{conf,init}.d/crypto-loop should not be using cryptoloops
Summary: sys-apps/util-linux /etc/{conf,init}.d/crypto-loop should not be using crypto...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 22:48 UTC by postmodern
Modified: 2005-09-07 00:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postmodern 2005-09-06 22:48:05 UTC
The losetup style of doing encrypted devices is a weak solution and should NOT
be used by anyone. People should have migrated to device-mapper's dm-crypt
feature which implements a cryptographic layer for devices securely.
/etc/{conf,init}.d/crypto-loop should allow for the use of the superior
device-mapper crypto layer.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 postmodern 2005-09-06 22:48:36 UTC
Ah, forgot the background information on cryptoloops.

http://lwn.net/Articles/67216/
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-07 00:09:27 UTC
emerge sys-fs/cryptsetup if you want dm-crypt.
Comment 3 postmodern 2005-09-07 00:13:48 UTC
sys-fs/cryptsetup does allow one to create,list,remove crypto mapped devices,
but /etc/init.d/crypto-loop gives you a run level interface to automatically
manage crypted devices. The two things are very different in nature. Also still
/etc/init.d/crypto-loop uses the crypto-loops which have a weak design and
should not be used for secure storage of data.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-09-07 00:25:30 UTC
(In reply to comment #3)
> sys-fs/cryptsetup does allow one to create,list,remove crypto mapped devices,
> but /etc/init.d/crypto-loop gives you a run level interface to automatically
> manage crypted devices. 

Please, at least do some research sufficient to not claim something that is
obviously not true - like looking at /lib/rcscripts/addons/dm-crypt-start.sh and
/lib/rcscripts/addons/dm-crypt-stop.sh. I'm using cryptsetup and have dm-crypted
swap and /tmp automatically created at boot.

(In reply to comment #3)
> The two things are very different in nature. Also still
> /etc/init.d/crypto-loop uses the crypto-loops which have a weak design and
> should not be used for secure storage of data.

Yeah, the two thing are very different and if you don't like crypto-loop, then
don't use it, pretty simple.