Generate Key Pair
A key pair is your public key and your private key together. This page shows how to make one. If you’re new, click New Keypair, type your name, and click Continue until you reach Generate. GpgFrontend fills in safe defaults for everything else.
Open the Key Generation Window
Section titled “Open the Key Generation Window”-
In the main window, click New Keypair in the toolbar. You can also open the Keys menu and choose New Keypair.
In the KeyPair Management window, click New Keypair in the toolbar, or open Key > Generate Key > New Keypair. The shortcut there is Ctrl+N.
-
The Generate Key window opens.

The window walks you through four steps: Identity, Key Type, Validity & Protection and Review. Click Continue to go to the next step, or Back to change something.
Step 1: Identity
Section titled “Step 1: Identity”Type who the key is for. Others see this name and address when they look up your key.
- Name: Required. Your full name.
- Email: Optional. If you fill it in, it must be a valid email address.
- Comment: Optional. Helps tell this key apart from others, for example
Work.
The Fill In Anonymously button makes up a name and an address that reach nobody. Use it for test keys, or when you don’t want to link the key to a real name or address. You can change how the made-up name and address look in Settings.
A few rules apply to what you can type here:
- Continue stays greyed out until you type a name.
- The name and comment cannot contain
(,),<,>or control characters. - A name shorter than five characters is allowed, but GpgFrontend asks you to confirm it when you click Continue. Short names are often a typo, and they make your key harder for other people to recognise.
At the bottom, the window says which key database the key will be saved in. To use another one, close the window, switch to that key database, and start again.
Step 2: Key Type
Section titled “Step 2: Key Type”Choose what kind of key to make. If you are unsure, keep the one marked Recommended.
- Modern (Recommended): small, fast keys for signing and encryption. All current OpenPGP software understands them.
- Compatibility: an RSA key, for older systems and software that only accept RSA. Larger and slower to use.
- Hybrid encryption: messages sent to you are also protected against future quantum computers. Only recent software can encrypt to this key. You only see this choice when your OpenPGP engine (the program that does the encryption work, such as GnuPG) supports it. See Post-Quantum Cryptography.

For other key types, open Advanced options and pick one from Other profile. A profile is a saved set of key choices, such as the algorithm and how long the key is valid. You can manage profiles in Settings.
Step 3: Validity & Protection
Section titled “Step 3: Validity & Protection”This step has two choices:
- Valid for: how long the key can be used. The default is 2 years. You can pick another period, Never, or Custom date. An expiry date is a safety net. If you lose the key, it stops working by itself on that date. You can extend the date at any time before then.
- Protect the secret key with a passphrase: ticked by default. Keep it ticked. GpgFrontend asks you for the passphrase while it makes the key.
With GnuPG, the passphrase question comes in a separate window from GnuPG. GnuPG usually makes the key and its subkey in one go, so it asks once. For a post-quantum or hybrid key, it may ask a second time for the subkey.
If you untick the passphrase box, a warning reminds you that anyone who gets your secret key file can then sign and decrypt as you.

Step 4: Review and Generate
Section titled “Step 4: Review and Generate”-
Check the summary: your user ID, the key type, when it expires, and whether it has a passphrase.
-
Click Generate.

-
If asked, type a strong passphrase, and type it again to confirm.
-
A Key Generated message shows your new key’s fingerprint. Click OK.
Make a Key in One Click
Section titled “Make a Key in One Click”Quick Generate makes a key straight away, with no questions. It uses the default profile and a made-up name and address, both from Settings. This is handy for test keys.
To use it, open the Keys menu and choose Quick Generate. You can also hold down or right-click the New Keypair button and choose Quick Generate there.
In the KeyPair Management window, you find Quick Generate in these places:
- Key > Generate Key > Quick Generate.
- Under the New Keypair button in the toolbar: hold it down or right-click it.
- In the menu you get when you right-click an empty part of the key list.
- With the shortcut Ctrl+Alt+N.

If the default profile or the made-up identity from Settings cannot be used, GpgFrontend asks if you want to make the key step by step instead.
Choose Everything Yourself (Expert Mode)
Section titled “Choose Everything Yourself (Expert Mode)”You can skip this. GpgFrontend’s defaults are a safe choice.
Turn on the Expert Mode switch at the bottom left of the window, on step 1 or 2. Step 2 then becomes Key Details, where you choose:
- Start from: begin with Custom or with any profile, then change what you need.
- Primary key: the Algorithm, Key length, Usage (Encrypt, Sign, Authenticate) and when it Expires. For hybrid algorithms, Paired with and Its key length also appear.
- Key format rPGP only: v4 (Compatible) or v6 (Modern). This is only shown with the rPGP engine. Post-quantum algorithms always use v6.
- Add a subkey: tick it to add a second key under the primary one, usually for encryption. It gets the same choices as the primary key.

With Expert Mode on, the expiry is set for each key here, so step 3 only asks about the passphrase.
To keep your choices for later, click Save as Profile… and give them a name. GpgFrontend remembers whether Expert Mode was on for next time.
Advanced Options
Section titled “Advanced Options”You can skip this section unless you need fine control. It lists the algorithms for the primary key and some compatibility notes.
Supported Algorithms for the Primary Key
Section titled “Supported Algorithms for the Primary Key”A primary key stands for your identity. It certifies (signs) your user IDs, so it must use an algorithm that can sign. That’s why the primary key list only shows algorithms that can sign. Algorithms that can only encrypt (such as ECDH, X448, Curve25519, ElGamal, or Kyber/ML-KEM) are used for subkeys instead. See Subkey Algorithms.
The algorithms you see depend on the engine, its version, and the key format. In the table, “Cert” means certify, “Auth” means authenticate (log in), and “PQC” means post-quantum.
| Algorithm group | Purpose | Engine |
|---|---|---|
| RSA | Sign / Encrypt / Auth / Cert | GnuPG rPGP (3072 bits or more) |
| DSA | Sign / Auth / Cert | GnuPG only |
| Ed25519 | Sign / Auth / Cert | GnuPG rPGP |
| Ed448 | Sign / Auth / Cert | GnuPG 2.3+ rPGP |
| NIST P-256 / P-384 / P-521 | Sign / Auth / Cert | GnuPG rPGP |
| Brainpool P-256 / P-384 / P-512 | Sign / Auth / Cert | GnuPG 2.3+ |
| secp256k1 | Sign / Auth / Cert | GnuPG 2.3+ |
| SLH-DSA-SHAKE variants | PQC Sign / Auth | rPGP only |
| ML-DSA hybrid variants | Hybrid PQC Sign / Auth | rPGP only |
Compatibility Notes
Section titled “Compatibility Notes”Some keys made by one engine can’t be used by the other. Keep these points in mind before you share a key:
- rPGP 25519 keys are rPGP-only. rPGP can import 25519 keys made by GnuPG, but not the other way around. When rPGP makes an Ed25519 key, it uses the newer RFC 9580 encoding, not the older encoding GnuPG uses. So GnuPG can’t read the key, even if you pick the v4 format.
- rPGP post-quantum keys are rPGP-only too. ML-DSA, SLH-DSA, and hybrid KEM keys made by rPGP always use the OpenPGP v6 format. They are meant for testing and rPGP-based work, not for use with GnuPG.
- GnuPG chooses its own key format. With the GnuPG engine, GnuPG picks the format based on its version and settings. GpgFrontend doesn’t set it, so the Key format choice is not shown. Current releases make v4 keys, but newer versions (such as the 2.5.x line) may make v5 keys. A v5 key does not work with the rPGP engine or with many other OpenPGP tools. See Key Format Version.
- A v4 key always keeps at least one UID. A v4 key stores its usage and expiry with its UIDs (User IDs, the name and email on the key). So GpgFrontend will not let you delete the last UID of a v4 key. Add a new UID first if you want to replace it. v6 keys do not have this limit.