GPA, the GNU Privacy Assistant, is a graphical front end for GnuPG. It does the same job as Kleopatra: it shows your keyring, lets you create and import keys, and gives you a clipboard window for encrypting, decrypting, signing and verifying text without touching the command line.
Which systems it runs on
This is where most guides go wrong. GPA is a Linux application. It is packaged in Debian and its derivatives, it is included in Whonix, and it is available from most distributions' software repositories. There is no official Windows build, and instructions that tell you to open Command Prompt and run apt-get install gpa are simply wrong: apt is Debian's package manager and does not exist on Windows.
If you are on Windows, use Kleopatra, which ships with Gpg4win and is covered in our separate Kleopatra guide. If you are on macOS, use GPG Suite or the command line. GPA is for Linux users, and on Tails it is not installed by default either; Pidgin and Kleopatra are the tools that ship.
On Debian, Ubuntu, Whonix or a similar system:
sudo apt install gpaOn Whonix it is already there. On Tails you would need to install it through Additional Software, and the simpler answer is to use Kleopatra, which is already present.
First launch
Open GPA and choose Edit → Preferences, tick Use advanced mode, and apply. Without that, the key-size field and several menu items stay hidden.
Creating a key
Go to Windows → Keyring Manager, then Keys → New key…. Set the key size to 3072 bits (or 4096 if you prefer; 3072 is GPA's default and is fine). Enter a name, leave the email and comment fields blank or fill them with something meaningless, and click OK. Enter a passphrase twice and confirm. The new key pair appears in the keyring.
Backing up and exporting
In the Keyring Manager, right-click your secret key and choose Backup…, pick a folder and filename, confirm, and enter the passphrase. That file is your private key; store it on an encrypted volume.
To export the public half, right-click the same key and choose Export Keys…, then save. To copy the public key as text, right-click and choose Copy; it goes to the clipboard in armoured form.
Importing a key and setting trust
Copy the other person's public key, open the Keyring Manager and press Ctrl+V. Confirm the import. Then right-click the imported key, choose Set Owner Trust…, and pick a level. Trust is a label for your own convenience; it is not a verification. Check the fingerprint against the one published by the other party before you rely on the key at all.
Day to day use
Most of the work happens in Windows → Clipboard. Paste text into the main area, then use the File menu:
Decrypt for an encrypted block; you will be asked for your passphrase and the plaintext appears in the window. Verify for a signed message; the result appears in a popup, including which key signed it and whether the signature is good. Encrypt to encrypt to one or more recipients — select the keys in the popup and confirm; if GPA warns about an unknown key, that is the expected prompt for a key you have not marked as trusted. Sign to clear-sign text with your own key.
The clipboard is a real clipboard, shared with everything else on the machine. On a system where other applications are running, copy the ciphertext out and clear the clipboard afterwards, and never leave plaintext sitting in it.
What to watch
GPA is a thin layer over GnuPG, so it inherits the same weaknesses: a lost key is a lost identity, a weak passphrase is a weak key, and an unverified fingerprint is just a nice-looking name. The interface makes the mechanics easier, not the judgement.
If you are on Tails or Whonix and want a graphical tool that is already installed, Kleopatra is the path of least resistance. GPA is worth knowing because it is small, it is in Debian, and it does not try to manage your email.
