Re: encrypted swap
* Russell Coker (russell@coker.com.au) wrote:
> I added the following two lines to /etc/init.d/mountall.sh to give an
> encrypted swap device (and also set the swap device in /etc/fstab to
> be /dev/mapper/swap).
>
> Is there any way we could have some generic encrypted swap support in Debian?
> Maybe a script that searches for the swap device in /etc/fstab and then runs
> cryptsetup, mkswap, and swapon?
>
>
> cryptsetup -d /dev/random create swap /dev/hda1
> mkswap /dev/mapper/swap
I seriously doubt we could get something like this into unstable right
now, but I would love to see this post-sarge.
--
Eric Dorland <eric.dorland@mail.mcgill.ca>
ICQ: #61138586, Jabber: hooty@jabber.com
1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+
G e h! r- y+
------END GEEK CODE BLOCK------
Reply to: