Local data encryption for cloud storage
Old Companions
In addition to the programs designed for encrypting data in the cloud, Linux offers other cryptotools, including GnuPG [14] and the obsolete TrueCrypt [15], although it is now available as a fork named VeraCrypt [16].
GnuPG is typically used to encrypt email (e.g., for use with Enigmail [17]). Thanks to the tool, any Linux user can encrypt files locally and drop them into a cloud folder to synchronize the data. However, this solution requires some manual work. For example, you need to make sure not to send unencrypted content to the cloud folder or decrypt files in the wrong folder and then accidentally sync them to the cloud. If you still want to use GnuPG, you should think about using scripts that handle the important work steps, thus preventing errors.
Using TrueCrypt or its successor VeraCrypt (Figure 5), you can create encrypted containers that a folder intended for the cloud can then synchronize. Only users who know the password and have the container mounted will see the content. The disadvantages are that small changes to the files in the container affect the entire container, which means that unless the provider supports block-level synchronization, the service syncs the complete container, even if just one character changes in a file.
eCryptfs [18], which Ubuntu uses [19], is also worthy of mention. The kernel-based encrypted filesystem is mounted on an existing filesystem (e.g., ext4). eCryptfs then creates two directories (~/Private
and ~/.Private
) by default and writes the encryption information to the headers of the files to be encrypted. eCryptfs automatically stores files that the user saves to ~/Private
as encrypted files in ~/.Private
. From there, you can upload to the cloud. However, you can customize the software to suit your own needs and locate the encrypted folder in Dropbox. eCryptfs is not foolproof, however, because an attacker that gets hold of the password can read the encrypted user directories.
Conclusions
Programs that have been designed especially for encrypting cloud data seem to offer the better approach all told. Cryptomator is currently only available as a beta version; nonetheless, it still demonstrated the strongest performance in the lab. It also appears to be the easiest to use of the tested programs.
PanBox offers more features and therefore also requires more time for training. Assuming that the bugs encountered during testing are resolved in the future, PanBox also seems to be a strong candidate for handling data for the cloud.
Infos
- "Is your cloud drive really private? Not according to fine print" by Rosa Golijan, NBC News, March 15, 2013: http://www.nbcnews.com/technology/your-cloud-drive-really-private-not-according-fine-print-1C8881731
- Boxcryptor: https://www.boxcryptor.com
- Boxcryptor with Linux support: https://www.boxcryptor.com/en/classic
- PanBox: https://www.sirrix.com/content/pages/66722.htm
- PanBox code: https://github.com/Sirrix-AG/PanBox
- PanBox Enterprise: https://www.sirrix.com/content/pages/67191.htm
- PanBox download: https://www.sirrix.de/content/pages/66538.htm
- Oracle Java: https://www.oracle.com/java/index.html
- PanBox manual: https://cybersecurity.rohde-schwarz.com/sites/default/files/download/panbox_benutzerhandbuch_-_en.pdf
- Cryptomator: https://cryptomator.org
- Cryptomator source code: https://github.com/cryptomator/cryptomator
- Scrypt: https://www.tarsnap.com/scrypt.html
- Cadaver: http://www.webdav.org/cadaver/
- GnuPG: https://www.gnupg.org
- TrueCrypt: http://truecrypt.sf.net
- VeraCrypt: https://veracrypt.codeplex.com
- Enigmail: https://www.enigmail.net
- eCryptfs: http://ecryptfs.org
- eCryptfs in Ubuntu: https://help.ubuntu.com/community/EncryptedPrivateDirectory
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.