Join our Newsletter — 33% off our NHI Course
Home› Glossary› Foundations & NHI Taxonomy› PGP Primary Key
Foundations & NHI Taxonomy

PGP Primary Key

← Back to Glossary
By NHI Mgmt Group Updated October 29, 2026 Domain: Foundations & NHI Taxonomy

A PGP primary key is the main OpenPGP key that identifies the key pair and is used to certify the other keys attached to it. It usually holds the long-term identity and certification capability, while subkeys are used for specific functions such as encryption or signing.

What a PGP primary key does

The primary key is the anchor of an OpenPGP identity. It certifies the other keys in the bundle, establishes which subkeys belong to the same OpenPGP identity, and is usually the long-lived key that carries the strongest trust and lifecycle implications.

Because the primary key is the certification root for the set, compromise or loss of it affects more than one function. It can undermine trust in the full key bundle, not just a single encryption or signing subkey, which is why primary-key handling deserves separate attention from routine message encryption.

How primary keys relate to subkeys

OpenPGP separates responsibilities so the primary key can remain relatively stable while subkeys handle day-to-day operations. That design reduces exposure, since encryption and signing subkeys can often be replaced without changing the identity root that other parties rely on.

This separation also helps with operational continuity. If a subkey is retired, replaced, or temporarily unavailable, the primary key can still be used to certify continuity for the OpenPGP identity, provided it remains trusted and accessible.

In practice, the distinction is important because users often treat the entire key bundle as one object, even though the security consequences differ by role. Losing a subkey may disrupt a workflow; losing the primary key can affect the validity and governance of the whole set.

Trust, certification, and long-term identity

The primary key is the part of the key pair that ties the OpenPGP identity together over time. Its certification role means it is not only a cryptographic object, but also the basis for how other keys are accepted as belonging to the same identity.

That makes the primary key closer to an identity anchor than a mere technical artifact. When a primary key changes unexpectedly, recipients may need to verify that the new key really belongs to the same person, service, or organisation before they trust new signatures or encrypted traffic.

For that reason, primary key continuity is as much about trust management as it is about cryptography. Stable ownership, clear rotation history, and a reliable revocation path all matter because the primary key is the reference point used to interpret the rest of the bundle.

Lifecycle and operational handling

A primary key should usually be protected more strictly than its subkeys because it is the control point for certification and identity continuity. Many teams keep it offline or otherwise tightly restricted, then use subkeys for routine work to reduce the blast radius of compromise.

Lifecycle events matter here: creation, backup, rotation, revocation, and recovery all need to be planned so the identity can survive normal administration and emergency replacement. If the primary key is not recoverable, the organisation may lose the cleanest path to re-establish trust in the existing key hierarchy.

OpenPGP users should also be careful about what is being renewed. Rotating a subkey is a normal maintenance event; replacing the primary key is a deeper trust event because it affects how the entire identity is anchored and verified.

Risk and Threat Considerations

Primary keys are attractive targets because they can certify replacement keys, preserve long-term trust, and help an attacker impersonate or persist within an OpenPGP identity. If a primary key is stolen or mismanaged, the impact can extend to signatures, encrypted communications, and downstream trust decisions.

Failure mechanism: Attackers abuse the certification role of the primary key, or exploit weak storage and backup practices to obtain the key material and present malicious subkeys or forged continuity as legitimate.

Impact: Recipients may trust the wrong key set, accept malicious signatures, or continue using compromised trust paths long after the original exposure.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-57, NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-57Key ManagementPrimary keys are long-term cryptographic material governed by lifecycle and protection practices.
Recommendation — Apply key lifecycle controls to protect, rotate, back up, and revoke the OpenPGP primary key.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementOpenPGP primary keys and subkeys are identity-bearing credentials that require lifecycle control.
Recommendation — Manage the primary key as sensitive credential material with strict issuance, storage, and revocation handling.
ISO/IEC 27001:2022A.8.24 — Use of cryptographyOpenPGP primary keys are cryptographic assets whose use and protection belong in cryptography controls.
Recommendation — Define handling rules for the primary key, including restricted use, storage protection, and revocation.
NIST CSF 2.0PR.DS-10 — Data in transit is protectedOpenPGP primary keys support protected communications by anchoring trust in encrypted and signed exchanges.
Recommendation — Protect the key material that underpins encrypted and signed communications across the OpenPGP workflow.

Practitioner Guidance

Why practitioners should care: The primary key is the trust anchor for the whole OpenPGP identity, so it should be handled as governance-sensitive material rather than as just another key file. Keep the primary key’s use narrow, document who controls it, and make revocation and recovery part of the key-management plan.

What to watch for: Unexpected primary-key replacement, missing revocation information, or unmanaged subkey churn usually signals a trust problem, not just a maintenance event. Treat those changes as identity continuity events that need verification.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 29, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org