Can you encrypt a hard disk with gpg? Is there any tool to do that?
-
Most OS'ses allow you to access a HDD as a file. So technically it is possible. I suspect that it will not do what you want though. – Hennes Sep 3 '12 at 12:27
-
3Why do you want to do that? What is your use case? – Der Hochstapler Sep 3 '12 at 14:49
-
The commercial PGP used to have "PGP Disk". – user1686 Sep 3 '12 at 16:42
You can do this using GPG encrypted loopback disks. This page explains the concept like so:
My intention was to be able to secure some data by encrypting them with a GPG key, but not have to create a new partition on my disk. Also, I wanted to do easy backups by just backing up a single file. I also wanted to be sure that I would still be able to recover everything in case my disk encryption GPG key was lost. Since I am not aware of any systems that do this automatically, I just combined loopback devices, luks and GPG into a set of bash scripts.
Even if it's possible, it probably isn't a good solution because disk encryption needs to be a transparent layer between OS and disk due to the continuous I/O.
-
It's certainly much more practical than encrypting each and every file individually and has the same performance. – Sedat Kapanoglu May 29 '14 at 22:43