Tag Archives: Encryption

Home »  Tag: Encryption

In the wake of the current Truecrypt FUD. It seems not too widely known that you can encrypt your data with zfs for quite some while. And it also works along with compression and deduplication. However this applies only to ZFS zpool version 30 onwards (introduced with Solaris 11) while zfs on Linux currently still runs on zpool version 28. So its not running there. To read a bit in detail on how it works you will find here a few interesting posts. How to Manage ZFS Data Encryption Introducing ZFS Crypto in Oracle Solaris 11 Express Having my secured cake and Cloning it too (aka Encryption + Dedup with ZFS) The encryption options are: aes-128-ccm (default) aes-192-ccm aes-256-ccm aes-128-gcm aes-192-gcm aes-256-gcm Only CCM supports encryption along with compression and deduplication so I ditch the GCM and go for (putting my weak half torn tinfoil hat on) aes-256-ccm. I’ll create a new Filesystem […]

Howto encrypt in Ubuntu the Home Directory and Swap There are 2 ways to encrypt the Home Directory and Swap. Option 1 linux native encryption Prerequisites Install required packages: # sudo apt-get install cryptsetup libpam-mount $ ls -l /dev/mapper/ total 0 crw-rw—- 1 root root 10, 61 2009-05-19 15:39 control ..with support for crypto: # sudo dmsetup targets | grep crypt crypt v1.6.0 The device-mapper should be active (if not, reboot): Good. Now we’re ready. Find out the partitions of your disk # sudo fdisk -l Disk /dev/sda: 8069 MB, 8069677056 bytes 255 heads, 63 sectors/track, 981 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0000cbe0 Device Boot      Start         End      Blocks   Id  System /dev/sda1   *           1         632     5076508+  83  Linux /dev/sda2       […]

%d bloggers like this: