Kleopatra for Windows installation and operation guide
GPG4Win is a software package that includes the Kleopatra tool for managing PGP keys. This guide describes how to install GPG4Win how and use Kleopatra tool on Windows.
Installing Kleopatra from Gpg4win on Windows #
- Download the Gpg4win package from the official website: https://gpg4win.org.
- Run the downloaded installer and follow the on-screen instructions, selecting the Kleopatra installation option.
- After installation is complete, launch the Kleopatra application using the desktop shortcut or the Start menu.
- Ensure the following components are installed: GnuPG, Kleopatra, GpgOL, GpgEX.
- Select them, then click Next.
Generating keys in Kleopatra #
- Open the Kleopatra application and click the New Key Pair button.
- Enter your nickname. Setting a passphrase is recommended. Click Advanced Settings.
- Select your preferred key algorithm and size RSA, 4096 bits, check the Authentication option, and click OK.
- Set a passphrase for the key, which will be used to protect it, then click OK.
Backing up the private key in Kleopatra #
- Go to the key management screen, select your private key, and click Backup Secret keys….
- Select the location where you want to save the key, and click Save.
- Ensure the key is saved in a secure location.
- It is also recommended to export the public key.
A backup copy of the private key should be encrypted with VeraCrypt or TrueCrypt and placed on external media for protection against data loss.
Importing public keys in Kleopatra #
- Open the email or other communication containing the public key.
- Copy the public key to the clipboard.
- Open the Kleopatra application and select the Notepad option.
- Paste the public key and click Import Notepad.
- Then certify the public key to confirm its authenticity by clicking Certify.
Encrypting messages in Kleopatra #
- Open the Kleopatra application and click Notepad, then paste/type the content of the message you want to encrypt into the text field.
- Select the recipient’s public key from the list of available keys.
- Click Encrypt Notepad.
- After encrypting the message, copy the resulting text to the clipboard.
- You can now share the encrypted text in another app, such as via an instant messenger, or save it to a file.
We do not need to import the public key again when encrypting the next messages. The key will be saved in the program files.
Decrypting messages in Kleopatra #
- Open the encrypted message.
- Copy the encrypted text to the clipboard, then open the Kleopatra application.
- Click Notepad and paste the encrypted text.
- Click Decrypt / Verify Notepad. If prompted for a passphrase, enter the passphrase for your private key.
Signing messages in Kleopatra #
- Open the Kleopatra application and click Notepad, then paste the content of the message you want to sign into the text field.
- Select your private key from the dropdown list in the Sign as field.
- Click Sign Notepad.
- Copy the signed text to the clipboard.
- You can now share the signed text in another app, such as via an instant messenger, or save it to a file.
Avoid signing messages that seem universal. For example, a signed “I agree” or “It’s me” message can be saved and used to impersonate you in another conversation. Signed messages should be complete sentences describing the purpose and circumstances of the signature.
Verifying messages in Kleopatra #
- Open the signed message and copy its content to the clipboard.
- Open the Kleopatra application, click Notepad, then paste the signed text into the text field.
- Click Decrypt / Verify Notepad.
- Kleopatra will display the verification result, informing you whether the signature is valid.
We do not need to import the public key again when verifying subsequent signatures of the same author. The key will be saved in the program files.