After downloading an encrypted file by Public Key using the File Manager App, you need to decrypt it with your saved Private Key. This article will guide you on how to do so.
First of all, let’s check out the version of GPG on your system and some interesting tidbits. Run the following command.
1 gpg --version
NOTE
Some GPG installations on Linux (for example Linux Mint) may require you to use gpg2
You might need to install the latest GPG command line tools at https://www.gnupg.org/download/
Decrypt
- Open Terminal.
- Use
--decrypt
option. You can also optionally specify the output file with--output
option like below.
1 $ gpg --output normal.mp3 --decrypt decrypted.mp3
3. You will be required to key in the passphrase
4. Once you enter your passphrase. GPG will decrypt your selected file.
1
gpg: encrypted with 2048-bit RSA key, ID 7B6BE6A7, created 2019-09-23
2
"Admin <admin@support.com>>"
3
gpg: Signature made Wed 25 Sep 2019 09:57:32 AM ICT using RSA key ID E89C8EA6