PGP key viewer
Runs in your browserPaste a PGP key, message or signature. See fingerprint, expiry, subkeys and who a message is for, the way GnuPG lists it. Nothing leaves your browser.
Paste a key on the left
You see fingerprint, expiry and subkeys, and whether it can receive encrypted messages. For messages: which key opens them.
How GnuPG lists it
Same as gpg --show-keys --with-subkey-fingerprints key.asc, dates in UTC.
What the fields mean
| Field | Meaning |
|---|---|
| Fingerprint | 40 hex characters that identify the key. Compare it with the owner through a second channel before you trust a key. Alice’s demo key: A486 B947 5B1A FD9D 028A A72B AD9F 2C1A BBE5 DD9A |
| Key ID | The last 16 characters of the fingerprint (AD9F2C1ABBE5DD9A). Messages and signatures name the key by its ID. Short 8-character IDs are easy to fake; don’t rely on them. |
| Subkeys | Most keys are a primary key that signs plus a subkey that encrypts. A message is encrypted to the subkey, so its ID is the one GnuPG shows in “encrypted with … key, ID …”. |
| Capabilities | S sign, C certify (sign other keys and its own subkeys), E encrypt, A authenticate (SSH). Shown in brackets by GnuPG, like [SC] and [E]. |
| Expires | After this date nobody can encrypt to the key, and new signatures with it are invalid. The owner can extend it at any time. |
| User ID | Name and email. Anyone can write any name into a key: only the fingerprint, checked with the owner, tells you it is theirs. |
Common problems with keys
| Problem | What to do |
|---|---|
| Expired | The owner extends it: gpg --quick-set-expire FINGERPRINT 2y for the primary key and gpg --quick-set-expire FINGERPRINT 2y '*' for all subkeys, then shares the public key again. |
| No encryption subkey | The key can only sign. The owner adds one: gpg --quick-add-key FINGERPRINT cv25519 encr 2y. |
| Revoked | The owner no longer uses it. Ask for the new key; don’t encrypt to the old one. |
| DSA, ElGamal or RSA 1024 | Old and weak. It still works in GnuPG, but many apps refuse it. Make a new key with the key generator. |
| Forgot the passphrase | There’s no way back. Revoke the key with the revocation certificate you saved, and create a new one. |
| Need the public key, only have the private one | Paste the private key here and use “Get the public key”. No passphrase needed: the public part is not encrypted. |
Same answers as GnuPG
For 9 key types made with GnuPG 2.4.4, fingerprints, key IDs, algorithms, sizes, dates, capabilities, expiry and revocation match gpg --with-colons, and the list under the result matches gpg --show-keys line by line. Ed448 keys from GnuPG 2.4 use a version 5 format outside the OpenPGP standard; the viewer says so instead of showing wrong data.
Questions about PGP keys and messages
How do I find the fingerprint of a PGP key?
Paste the key above: the fingerprint is the first line of the result. In GnuPG: gpg --show-keys key.asc for a file, or gpg --fingerprint alice@example.org for a key you imported.
How do I see who a PGP message is encrypted for?
Paste the message. The viewer lists the key IDs it was encrypted for, without decrypting it. In GnuPG: gpg --list-packets message.asc.
How do I remove the passphrase from a private key?
Paste the private key, choose “Change passphrase”, enter the current one and leave the new one empty. Only do this for keys that never leave a safe place: anyone with the file can then use it.
How do I get the public key from a private key?
Paste the private key and use “Get the public key”. It works without the passphrase. In GnuPG: gpg --armor --export FINGERPRINT.
Is a key I paste here uploaded?
No. Everything runs in your browser, and the page blocks connections to other sites. You can check that in the developer tools of your browser, under Network.