GnuPG is a publicly available encryption scheme that uses the "public key" approach. With GnuPG, messages are encrypted using a public key; however, they can only be decrypted by a private key which is retained by the intended recipient of the message.
How Do These Keys Work?
You keep your private key secret from everyone, but you give your public key to anyone who wants it.
If you want to send someone an encrypted email, you need to get their public key and use that to perform the encryption. The receiver must use their own private key to decrypt the email.
If you want someone to send you an encrypted email, you need to give them your public key. Once they send the message, you must use your private key to read it.
Using the GnuPG keys is a very advanced task. Please refer to the following link for a user guide:
Setting Up GnuPG Keys
GnuPG Keys can be set up by doing the following:
- Log into cPanel.
- Click on the GnuPG Keys icon in the Security section.
- Next to Your Name, enter the name you want seen during secure communications.
- Next to Your Email, enter the full email address you will use with the pair of keys.
- Next to Comment/Nickname, enter a short reminder about the purpose of this key pair.
- Next to Key Password, enter the password you desire for the encryption. Be sure to enter the same password again on the next line.
- Next to Expire Date, enter a value in years or weeks or days, but not a combination of those. So, if you need 1 year and 3 weeks, enter "55w." If you need 1 year, 3 weeks, and 2 days, enter "388d."
- Next to Key Size, select the size of the encryption key. A bigger number means better encryption.
- Click the Generate Key button and you will be able to view both keys.
Importing an Existing GnuPG Key
You can also import an existing key by following the steps listed below:
- Click the Import Key button at the bottom of the GnuPG Keys page in cPanel.
- Copy the key code you want, and paste it into the text area provided.
- Click the Import button.
The key will be then added to your account.