![]() It will fulfill your requirement of the Linux encrypt a folder with a password. Open the directory you want to mount and enter a strong password. After mounting, you can see it File Manager as a drive. The mounting directory allows you to access it on different devices. ![]() Set the location for this encrypted directory under a directory or drive to encrypt or import. Create multiple stashes, if required, in a similar way. ![]() Press Enter to continue the installation.įor Linux to encrypt directory, create a new encrypted directory called a stash.Īfter you run the program, click the '+' icon to create a stash. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |