DragonFlyBSD Now Supports Encrypted SWAP
For DragonFlyBSD users out there, the swap device with the latest Git kernel can now be encrypted.
It's trivial with the newest DragonFlyBSD code as of this weekend to support an encrypted swap. The commit by DragonFlyBSD founder Matthew Dillon explains, "Implement crypting of the swap device. When enabled in this manner /dev/urandom is used to generate a 256-bit random key and the base device is automatically cryptsetup and mapped, making crypted swap trivial. Implement the 'crypt' fstab option, so swapon -a and swapoff -a work as expected for crypted swap. Again, the base device (e.g. /dev/da0s1b) should be specified. The option will automatically map it with cryptsetup and swap on the mapping."
It's trivial with the newest DragonFlyBSD code as of this weekend to support an encrypted swap. The commit by DragonFlyBSD founder Matthew Dillon explains, "Implement crypting of the swap device. When enabled in this manner /dev/urandom is used to generate a 256-bit random key and the base device is automatically cryptsetup and mapped, making crypted swap trivial. Implement the 'crypt' fstab option, so swapon -a and swapoff -a work as expected for crypted swap. Again, the base device (e.g. /dev/da0s1b) should be specified. The option will automatically map it with cryptsetup and swap on the mapping."
Add A Comment