How to Encrypt Files with gocryptfs on Linux – BollyInside

This tutorial is about the How to Encrypt Files with gocryptfs on Linux. We will try our best so that you understand this guide. I hope you like this blog How to Encrypt Files with gocryptfs on Linux. If your answer is yes then please do share after reading this.

Gocryptfs is a file-level encryption utility built on Filesystem in Userspace (FUSE). FUSE-mounted means that the encrypted files are stored in a single directory tree, which is mounted like a USB stick via the FUSE interface. This allows any user to mount, you dont need to be root. Because gocryptfs encrypts at the file level, sync operations that copy your files can work efficiently for each file. This is in contrast to disk-level encryption, which encrypts the entire disk as a single large binary blob.

When you use gocryptfs in normal mode, your files are stored on your hard drive in an encrypted format. However, if you provide the encrypted files, you gain unencrypted access to your files, just like any other files on your computer. That means all your regular tools and programs can use your unencrypted files. Changes, new files and deletions are reflected in real time in the encrypted version of the files stored on your hard drive.

Gocryptfs comes with a deb package and is available in the Debian and Ubuntu repository, which means you can easily install it with the command:

The same applies to Arch Linux. You can install gocryptfs via Pacman:

For other Linux distributions, you can download the binary from their Github site.

To use gocryptfs on macOS, you must first install Homebrew:

Then use the following command to install gocryptfs:

Gocryptfs is not natively supported on Windows due to its lack of FUSE support. However, cppcryptfs is an implementation of the gocryptfs encrypted overlay file system in C++ for Windows, so you can still get it to work on Windows. Follow the build instructions here.

To start using gocryptfs, you must first create two empty folders:

Next, initialize gocryptfs:

Lastly, mount the encrypted folder to the plain folder:

Now all the files you put in the plain folder will be encrypted and stored in the encrypted folder.

As an example, if you want to store the encrypted file in Dropbox and mount it to a Private folder in your home directory, you can run the following commands:

Every file you put in the private folder will be encrypted in the Encrypted folder and uploaded to the Dropbox server.

SiriKali is a GUI tool that can be used to encrypt with gocryptfs and other standards. It is available for Linux, macOS, and Windows, although the Windows version does not support gocryptfs.

Once the commands are done, its a good idea to run this to trust the key and allow updates.

I hope you understand this article How to Encrypt Files with gocryptfs on Linux, if your answer is no then you can ask anything via contact forum section related to this article. And if your answer is yes then please share this article with your family and friends.

View original post here:
How to Encrypt Files with gocryptfs on Linux - BollyInside

Related Posts

Comments are closed.