Hi,
at first I want to say that I have been reading these forums for quite some time and I really appreciate the work you guys do.
My question is about security with geli(8) encrypted disks at boot time.
The operating system is installed on an SSD ada0 and is not encrypted, but I have the following setup for a storage pool:
Two similar SATA disks ada1and ada2, each encrypted with geli(8) using the same keyfile. From ada1.eli and ada2.eli I created a zpool(8) mirror:
Everything works fine so far.
Since I intend to use jails that shall reside on TANK I need this configuration to be enabled while booting the server. The point is, to attach the encryption key to the drives I need to provide a password. Now I know there is the option of
In my opinion encrypted drives make sense if there is a chance that the physical server hardware can be stolen, including the disks. Now ada1 and ada2 are encrypted which is fine, but if someone steals ada1 and ada2 he can also steal ada0 which contains the key. Attach ada0 to a different system to which the thief has root access and he can extract the key and use it to decrypt ada1 and ada2.
So where is the point in using encrypted drives that are mounted after boot? Or is there another option?
cheers,
Michael
at first I want to say that I have been reading these forums for quite some time and I really appreciate the work you guys do.
My question is about security with geli(8) encrypted disks at boot time.
The operating system is installed on an SSD ada0 and is not encrypted, but I have the following setup for a storage pool:
Two similar SATA disks ada1and ada2, each encrypted with geli(8) using the same keyfile. From ada1.eli and ada2.eli I created a zpool(8) mirror:
Code:
NAME STATE READ WRITE CKSUM
TANK ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada1.eli ONLINE 0 0 0
ada2.eli ONLINE 0 0 0
Everything works fine so far.
Since I intend to use jails that shall reside on TANK I need this configuration to be enabled while booting the server. The point is, to attach the encryption key to the drives I need to provide a password. Now I know there is the option of
geli init -P
which does not request a password, but where is the security by only using a key which is stored on ada0?In my opinion encrypted drives make sense if there is a chance that the physical server hardware can be stolen, including the disks. Now ada1 and ada2 are encrypted which is fine, but if someone steals ada1 and ada2 he can also steal ada0 which contains the key. Attach ada0 to a different system to which the thief has root access and he can extract the key and use it to decrypt ada1 and ada2.
So where is the point in using encrypted drives that are mounted after boot? Or is there another option?
cheers,
Michael