Let’s say you have file name important.txt and it contains some classified information or some secret stuff which you wanna hide.
#How to decrypt mail gpg suite how to
How to Encrypt/Decrypt a File in Linux using gpg ( Kali Linux) Let’s get started!, For this tutorial I’m using Kali Linux and it has Gpg pre-installed not just Kali it comes pre-installed in every Linux version. Set Up GPG Keys GPG should be installed by default on Ubuntu 12.04. You send the email or upload the file and then ask the recipient to decrypt it at their end using their GPG private key.
Once you have the recipient’s public key, you can encrypt a file with that key. Gpg is a free tool which is used to encrypt a single file or folder with few commands, the only way to decrypt those files is with password. The encryption process requires to first get the GPG public key from the person you want to send the encrypted file or email to. If the file is also encrypted, you will also need to add the -decrypt flag. You can do pretty much everything from encrypting a file to a entire hard drive.Īlso Read: Creating an Encrypted Folder in Kali Linux/Ubuntu/Windows & Mac using TrueCrypt If the signature is attached, you only need to provide the single file name as an argument. If you really concern about your privacy and you don’t want your friends to sneak into your laptop or files you can use strong passwords, hiding files somewhere in safe locations or in some cases you can encrypt files. blake gpg -output doc -decrypt doc.
Today we’re going to encrypt a file or directory using Gpg tool which can be installed in any Linux version. Similar to the encryption process, the document to decrypt is input, and the decrypted result is output. rootnode2 gpg -output secret -decrypt secret.gpg gpg: encrypted with 2048-bit RSA key, ID CEEBD939AE75371A, created 'Amit Kumar <>' Next an decrypted file is created secret, now Amit can view the content of the file rootnode2 cat secret This is a secret file.