Encrypting partitions using dm-crypt and the 2.6 series kernel
Back in February of this year, Andrew Morten announced that cryptoloop was being deprecated in favour of dm-crypt. Although the initial announcement caused some consternation, dm-crypt was merged into the stable tree for the 2.6.4 kernel. This article looks at how to set up an encrypted partition using dm-crypt.
dm-crypt provides a crypto layer for Device-mapper. A Device-mapper driver allows you to define new partitions or logical volumes by specifying ranges of sectors on existing block devices. The ranges of sectors to be used by these partitions is mapped to targets according to a mapping table. dm-crypt provides just such a target which can be used to transparently encrypt a block device using the new 2.6 kernel cryptoAPI.
By Mike Peters at Linux.com
[ Read more ]
By subscribing to our early morning news update, you will receive a daily digest of the latest security news published on Help Net Security.
With over 500 issues so far, reading our newsletter every Monday morning will keep you up-to-date with security risks out there.