PGP, also known as OpenPGP or GPG, has been the standard for encrypted email and signed files for decades. Journalists use it to receive tips, open-source projects to sign releases, and security teams to receive vulnerability reports. Getting started used to mean installing GnuPG and learning its commands. This tool makes a standard key pair in a few clicks, ready to import into any OpenPGP app.
What you get
- Public key (
public.asc): share it freely. People use it to encrypt messages to you and to check your signatures. - Private key (
private.asc): protected by your passphrase. It decrypts messages and creates signatures. Never share it. - Revocation certificate (
revocation.asc): your emergency switch if the private key is lost or stolen. - Fingerprint: a 40-character ID. Read it out to contacts, or print it on a business card, so they can check they have your real key.
Choosing a passphrase
The passphrase is the last line of defence if someone copies your private key file. Use a long one, such as six random words from the passphrase generator, and keep it in your password manager.
Next steps
After importing the keys, send a test: encrypt a message to yourself and decrypt it. Then publish your public key, for example on keys.openpgp.org or your website’s security page. Add the fingerprint to your security.txt file too, so security researchers can reach you privately.
How to use the PGP Key Generator
- Enter your name and email address. They are written into the key so others can find it.
- Choose the algorithm and when the key should expire.
- Set a passphrase to protect the private key.
- Click Generate PGP key, then download all three files.
- Share
public.asc; keepprivate.ascandrevocation.ascsafe and separate.
Features
- Curve25519 (Ed25519 signing, X25519 encryption) or RSA 3072/4096 keys.
- Passphrase-protected private key, plus a revocation certificate.
- Key expiry of 1, 2 or 5 years, or never.
- Shows the fingerprint for others to verify your key.
- Built on OpenPGP.js, loaded only when you click Generate. Keys are made on your device.
Frequently asked questions
Should I choose Curve25519 or RSA?
Curve25519 for new keys: it is fast, small and secure, and supported by GnuPG 2.1+, Thunderbird, Proton Mail and most modern tools. Choose RSA 4096 only if you need to work with very old software.
Why should a key expire?
If you lose the private key or forget the passphrase, an expiry date makes sure the key stops being used automatically. You can extend the expiry at any time while you still have the private key.
What is the revocation certificate for?
If your private key is stolen or lost, importing and publishing the revocation certificate tells everyone the key must no longer be trusted. Store it somewhere separate, such as a printout or a USB stick.
How do I use the keys?
Import them into Thunderbird (Account settings › End-to-end encryption), GnuPG (gpg --import private.asc), Kleopatra on Windows or GPG Suite on macOS. Share your public key on your website or a keyserver such as keys.openpgp.org.
Written by Dewan Razib