If you’re concerned about the security of your digital data (well you should!) then you should consider using some sort of a data encryption method. If you’re looking an extremely ease to use, open-source, powerful and cross-platform friendly utility then Truecrypt is certainly one of the best one out there.
But Truecrypt does not integrate into the nautilus file manager. So if you want a tool that lets you encrypt data from the file manager itself , then you can try a script called “Turbo-Secure”. It’s not a replacement for Truecrypt due to many reasons and one drawback of ‘Turbo-Secure’ is that you cannot decrypt the encrypted data using it.
Luckily we can use a built in tool in Ubuntu for achieving that anyway.
Main features …
*. Comes with a user friendly wizard that assist you through the whole process.
*. Supports a lot of encryption algorithms such as: AES (256/192 bit), 3DES, BlowFish, DES, CAST etc.
It gives you a lot of choices when choosing a data encryption algorithm. But as a more conservative choice (performance and security) AES (either 192bit or 256bit) is a pretty good choice (default one).
*. You can either store the passwords in your HDD or let ‘Turbo-Secure’ ask for it every time (recommended method).
*. Supports GPG (GNU’s default data encrypting utility) or SSL encryption standards.
*. Password hashing.
*. As mentioned it integrates into the context menu in Nautilus.
Installation in Ubuntu (should be the same in other GNU/Linux distributions) …
1. You can install “Turbo-Secure” in Ubuntu 12.04 Precise Pangolin, 11.10 Oneiric Ocelot, 11.04 Natty Narwhal, 10.10 and 10.04 (might also work in older versions too) by first downloading the compressed package from this Turbo-Secure project page.
2. This script has two dependencies (“Zenity” and “GNUPG”). They both come installed by default in most GNU/Linux distributions (including Ubuntu). But if you distro does not come with them then make sure to install them first.
3. Now extract the 2 files inside it (they both serve the same purpose, except one is a GUI installer and other is a text based one).
4. I’m using the one called “Turbo-Secure-Files-Installer.sh” and follow the on screen instructions. Whenever you’re in doubt, go with the default options.
You can install GPG or SSL encryption scripts OR you can install them both!. If the first time you installed SSL version, then run the installation wizard again and choose GPG this time and now you should have them both installed (as shown below).
That’s it!. Now whenever you right click on Nautilus file manager, you should see it under “Scripts” sub menu as shown above.
As said earlier, this is only for encrypting your data and it won’t decrypt it. But if you encrypt your data with say “GPG”, then you can use the built in “gpg” command-line tool for decrypting it.
A simple example …
1. Now I’m going to encrypt an image file using the GPG standard.
First I locate the preferred PNG image (let’s call it “test.png”) and right click on it. From the menu choose “Turbo-Secure-File (GPG Editon)”.
2. When asked give the password and you should have the image encrypted (‘gpg’ extension will be added to the file).
3. Open your Terminal and enter the below command.
Just replace “test.gpg” with your own file path.
4. Now “gpg” should ask you for the password. Just type it and now you should have the decrypted file on the same location as the original (encrypted) one.