Course contentsShow
← Security
Lesson 2959 of 3,05255. Secure CommunicationsFree lesson

PGP/GPG Key Management and Web of Trust

Creating and managing PGP keypairs, the web of trust model, key signing parties, and trust levels in decentralized PKI.

PGP/GPG Key Management and Web of Trust

What you'll learn: How to create and manage PGP keypairs and participate in the decentralized web of trust model for verifying identities without central authorities.

Understanding PGP Key Management

Unlike centralized PKI (where Certificate Authorities validate identities), PGP/GPG uses a decentralized web of trust. You generate your own keypair—a public key you share widely and a private key you guard zealously. Think of your public key as your unique mailbox address that anyone can use to send you encrypted messages, while your private key is the only key that opens it.

The Web of Trust Model

The brilliance of PGP is its trust model: instead of trusting one central authority, you build trust through personal relationships. When you verify someone's identity in person (checking their ID and fingerprint), you sign their public key with your private key. This signature says "I personally verified this key belongs to this person."

Trust accumulates transitively: if Alice trusts Bob, and Bob has verified and signed Carol's key, Alice can choose to partially trust Carol's key based on Bob's endorsement.

Trust Levels

GPG implements four trust levels:

  • Unknown: No information
  • None: Explicitly don't trust
  • Marginal: Some confidence (typically requires multiple marginal signatures)
  • Full: High confidence (one fully-trusted signature may suffice)
  • Ultimate: Your own keys

Key Signing Parties

These are organized gatherings where participants verify each other's identities and key fingerprints in person, then later sign each other's keys. This rapidly expands the web of trust, creating interconnected validation networks without centralized control.

Key Takeaway: PGP's web of trust replaces central authorities with a decentralized network of personal trust relationships, where individuals verify and vouch for each other's public keys through cryptographic signatures—making identity validation democratic but requiring active participation and careful trust management.