How To Install & Use TrueCrypt In Ubuntu To Encrypt Files & Folders
If you are little interested in obtaining a higher level of security for your data, then I’m sure you would like this little software. Perhaps you have heard of encryption if not, encryption is just the way to transform plain text files into Ciphertext. To be more clear, encryption just makes the normal files like songs, movies, documents, etc. into something that human can’t understand, only machines can understand after inserting a secret key. We can too encrypt our secret files with TrueCrypt, still safe to work with. Let’s see how to do that in Ubuntu Linux and other derivative OS.
Above I told briefly that what Encryption is, let’s see a little more about encryption and then move on to second step to see how we can secure our files in our Linux machines by encrypting them. For now, let’s see what encryption is. Encryption is the way to convert the plain text files into Ciphertext. If you don’t understand what plain text means, then this does not only mean the text file like, .doc, .txt, etc. but the plain text can be pretty much everything we see in our computer without any secret key, password, fingerprint, etc. Normally most of our data is in plain text when contained in a normal folder.
Why Do We Need Encryption?
If you were not aware of the encryption, then you are probably thinking that why we need encryption. Why I would want to store our normal files into a format that I can’t understand. If I can’t understand then how would I be able to play, run or open those non-understandable files? Well, that’s not so. I have mentioned that human can’t understand encrypted data and in case, you try to open an encrypted file, you’ll get an error or if you open an encrypted file with a text editor, then there will be only “teximbles” (text+symbols). The only way to access an encrypted file is a password/passphrase/keyfile. When we encrypt any file then we set a key/password/fingerprint etc. and we keep it safe in our memory. The next time we try to open that file, just enter that key and Voila! the file will be decrypted and you’ll be able to use it. Encryption is one of the best ways to secure our important/secret files like passwords, important documents, lectures, audio files, etc. from being read/played/used by an unwanted person. Many times your data is mistakenly shared, sometimes hacked, or read by your neighbor. When you keep your important files encrypted they are secure. Even if somebody gets them and tries to open then he can’t.
TrueCrypt is a nice tool, but the developer dropped the development of the tool in May 2014. Although the development has been stopped but open-sourcing is still making it to breathe. TrueCrypt 7.1a is what you will be using now. The official website is providing TrueCrypt 7.2 as the latest version, but that’s no longer being maintained. But the Gibson Research Corporation argues TrueCrypt is still safe to use. Since the release of TrueCrypt 7.1a, the tool has been used by millions of people around the world. TrueCrypt has also undergone the audit and there was not even a single issue found in the code. GRC says,
“Those who believe that there is something suddenly “wrong” with TrueCrypt because its creators have decided they no longer have so much to give are misguided.“This is the Gibson Research Corporation’s argument based on certain facts. Other than GRC, a non-profit committee to protect journalists advised that TrueCrypt is still safe to use for journalists.
Personally, I think there may be something going on among the real developers that they made such a statement that TrueCrypt can’t be trusted in anyone else’s hand. Yes, they did forget TrueCrypt is an open source and anyone can develop it in a good way. I am using and suggesting TrueCrypt based on certain facts that it’s being used by millions of users and second there was no problem with the code in the audit. Let me know what you think about using TrueCrypt after all of these arguments and statements. Do take the below poll and tell us in the comment what you think about it.
Now let’s jump to the tutorial part. If you are using Ubuntu Linux and you want to encrypt files or folders then that’s super easy with TrueCrypt. TrueCrypt makes an encrypted file of a certain size and user can keep any type of data into it. The data kept inside the file will be encrypted and can only be accessed with either a keyfile or a password.
How To Install TrueCrypt In Ubuntu Linux
You can simply install TrueCrypt in Ubuntu Linux by adding a PPA. Step 1 – Open Terminal and add the PPA using the following commands –
$ sudo add-apt-repository ppa:stefansundin/truecrypt
$ sudo apt-get update$ sudo apt-get install truecrypt
How To Encrypt Files & Folders In Ubuntu With TrueCrypt
Now there are two options. The first option ‘Create an encrypted file container’. Do you get that? This is what I mentioned, it will create a folder where we’ll put our files to be converted. The second option is ‘Create a volume within a partition/drive’. This option will encrypt any external HD, USB, etc.
Select the first option to encrypt local files & folders and press next.
Always remember to demount the volume when you have to use the volume. To demount the volume, select the drive number that we set in this step, and click Demount.
How Much You Liked TrueCrypt?
Encrypting files using TrueCrypt is additional and strong security for your secret files. Although the setup takes a bit longer, that’s not tough. Once you’ve setup volume of your desired size there won’t be any trouble accessing it. I like using TrueCrypt to secure my Keepass password file. Read more about Keepass password manager here. Tell us below in the comment about how much like encrypting files using TrueCrypt. If you’re using any other encryption software on Linux then comment in the below, I’ll be happy to review that.