

The dialog box will appear with an already selected OK button. Sudo add-apt-repository PPA:gencfsm Sudo apt update Sudo apt install gnome-encfs-manager Use the following command to install the updated Gnome Encfs Manager. Gpg -o MyPrivateFile.enc -symmetric ~/Documents/PrivateFiles/MyPrivateFile.txt To change the name, add –o in the previous command as follows. It will get saved in Private Files after which you can securely delete a non-encrypted file. Step 4: Linux encrypt a file with passwordįinally, add passphrases and secure the file with a password. Gpg -symmetric ~/Documents/PrivateFiles/MyPrivateFile.txt Use the following command for encryption. Find the data using the command line or the File Manager. In this step, use the asymmetric key encryption method to encrypt a file in the form of blocks or chunks. Run this command and edit the gpg.conf in gedit as follows.Īdd the line to empty file opened in gedit to change the default cipher algorithm to AES256 as follows.

Add the line to a configuration file called gpg.conf which is available in a hidden directory. You can change it to different cipher algorithm with the help of configuration file GnuPG uses. Set the AES cipher algorithm AES128 as default. Run the following command to get a list of various ciphers.
