b2KIT

GPG Key Analyzer

Parse and analyze GPG/PGP public keys to display key ID, fingerprint, user IDs, subkeys, and expiration.

Tested tool guide Tested browser tools Checked August 16, 2026

What GPG Key Analyzer does and how it behaves

An OpenPGP public key is more than a single identifier. GPG Key Analyzer reads the packet structure of submitted public-key material and separates the primary key from its User ID records and subkeys. It reports the full fingerprint, shorter key ID, attached identities, and recorded expiration information so you can inspect what the key actually contains. The common surprise is that a User ID is only an identity claim carried by the key. Its presence does not prove that the named person or email address controls the key.

How the result is produced

1

Certificate structure

An OpenPGP public-key certificate can contain a primary public key, multiple User ID packets, certification signatures, public subkeys, and subkey-binding signatures. The analyzer parses these related records and presents them as parts of one key. This distinction matters because a User ID is an identity claim rather than a key, while a subkey can have its own fingerprint, key ID, creation time, and expiration.

2

Identifiers and expiration

The analyzer derives the fingerprint appropriate to the key packet's OpenPGP version and displays the corresponding shorter key ID. It also reads expiration information associated with the primary key and subkeys when that information is present. Analysis occurs in the browser, so pasted key material and any email addresses embedded in User IDs are not uploaded for processing.

Good uses

  • Inspect a collaborator's public key before import, then compare its full fingerprint with the fingerprint received through a trusted channel.
  • Review a key used by an automated signing or encryption process to identify its primary key and attached subkeys before replacing an expiring component.
  • Examine a public-key block copied from documentation, email, or a support ticket to list every embedded User ID and distinguish the primary key from its subkeys.

Limits and checks

  • A successful parse establishes that the material has a recognizable OpenPGP public-key structure. It does not authenticate the owner, establish trust, or confirm that an email address is controlled by the person named in a User ID.
  • Treat the key ID as a convenient abbreviated identifier, not as a substitute for the full fingerprint. When confirming a key with another person or matching an authoritative record, compare the entire fingerprint through an appropriately trusted channel.
  • Do not interpret a future expiration date as proof that the key is currently usable. A key can be revoked, superseded, distributed with outdated certifications, or unsuitable for a particular operation even while its recorded expiration date has not passed.

Common questions

Does the analyzer prove that a public key belongs to the person named in its User ID?

No. It can show the identity text and structural relationships encoded in the public-key certificate, but ownership is a separate trust decision. Confirm the full fingerprint using a trusted source or communication channel. A familiar name, matching email address, valid packet structure, or unexpired date is not sufficient proof by itself.

Why does the result show both a key ID and a fingerprint?

They serve different identification needs. The fingerprint is the fuller identifier derived from the public-key packet according to its OpenPGP version. The key ID is shorter and easier to display or search, but it provides less identifying information. Use the full fingerprint when the distinction is security-sensitive, especially when accepting a key for the first time.

References and verification

The behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools