Instructions of the file decryption with PGP
Step 1: Ensure that you have all required tools
To decrypt a file you will need to have a PGP client. There are some popular PGP clients:
- GnuPG (GPG): free and popular utility to work with PGP.
- PGP Desktop or Kleopatra: GUI interfaces to work with PGP on Windows.
- GPG Suite: for macOS.
Step 2: Ensure that you have the following components
- The file you need to decrypt (eg. file.pgp or file.gpg).
- Private key (it should be imported into your PGP client).
- Password (passphrase) if it was set for the private key.
Step 3: Import a private key into your PGP client (if you haven't done it before)
If you're using GnuPG run the following command in the terminal:
gpg --import your-private-key.asc
Replace your-private-key.asc with the name of the file with your private key.
Step 4: Decrypt a file
-
Through the terminal (GPG):
Run the following command:
gpg --output decrypted-file.txt --decrypt file.pgp
- file.pgp — encrypted file you want to decrypt.
- decrypted-file.txt — filename the decrypted content will be saved to.
If your private key is protected with a password you'll need to enter it for decryption.
-
Through a GUI:
- Open an app eg. Kleopatra (on Windows) or GPG Suite (on macOS).
- Choose an option to decrypt/check the file.
- Choose the path for the encrypted file and follow the instruction in app.
- Enter the password (if it was set) and wait for the decryption process will be finished.
Step 5: Check the result
- After a successful decryption you'll get a file with a readable content.
- Ensure that the file is located in a right place and has an expected content.
Notes - Ensure that your private key is stored in a secure place and don't give it to anyone.
- If you're using a password for your private key choose strong and unique password to increase protected.
If you'll have any issues or questions contact the website administration or support team.