skip to content

In OpenPGP's web of trust, what is the difference between a key's validity and the owner trust you assign to its holder?

level: middleimportance: nice to knowfreq 12%

answer

  1. two different questions about one key
  2. is it theirs, or are they careful
  3. local Trust packets stay home
  4. trust signature level and amount

basics

~20 s

Validity says a key really belongs to the person named in its User ID. Owner trust says how far you rely on that person when they certify other keys. A fully valid key can carry no owner trust at all.

solid answer

~40 s

**Validity** is the belief that a key belongs to the person in its User ID; it comes from certification signatures on that User ID, including your own after a fingerprint check. **Owner trust** is your judgement of how carefully that person certifies other people's keys. RFC 9580 keeps owner trust private: Trust packets live only in your local keyring, their format is up to the implementation, and they SHOULD NOT be sent to others. A certifier who wants to publish trust uses a **Trust Signature** subpacket: level 1 marks a trusted introducer, level 2 a meta-introducer, and amounts of 120 or more mean complete trust. A client then treats a key as valid when enough trusted introducers certified it; the exact thresholds are implementation policy, not RFC text.

go deeper

for a junior

Recall the split: validity answers whether a key belongs to its named owner, owner trust answers whether that owner's certifications of other keys count.

for a middle

Explain where each lives: certifications travel on the key, owner trust sits in local Trust packets, and a Trust Signature with a level and amount is the way to publish trust.

for a senior

Show judgement about certification practice: what a certification commits you to, why a careless certifier weakens everyone who trusts them, and how a scoped trust signature contains that risk.

for a principal

Weigh whether to build an organisational introducer at all, and who holds its key, against leaving trust to each member and accepting inconsistent decisions.

## Two separate questions OpenPGP's web of trust asks two different questions about every key on a keyring, and confusing them is the most common mistake candidates make: - **Validity**: does this key really belong to the person named in its **User ID** (a name and mail address bound to the key)? - **Owner trust**: how much do I rely on this person when *they* certify other people's keys? A key can be fully valid and carry no owner trust. You may be certain a key is Alice's, because you checked its fingerprint with her in person, and still have no idea whether Alice checks identities before she certifies keys. ## Validity: certifications on a User ID Validity is built from **certification signatures**, which RFC 9580 (July 2024, the current OpenPGP specification) defines as statements that a key belongs to a User ID. - Four types exist, `0x10` generic, `0x11` persona, `0x12` casual and `0x13` positive, but RFC 9580 notes that most implementations issue the generic type and few distinguish them. - An **Exportable Certification** subpacket set to 0 makes a certification "local": it counts on your keyring but is not meant for anyone else. - A certification can be withdrawn with a **Certification Revocation Signature** (`0x30`). RFC 9580 gives the example of a keyholder who leaves an employer; a revoked certification is no longer part of validity calculations. ## Owner trust: a private judgement Owner trust is not a property of the key; it is your opinion of its holder. - RFC 9580 section 5.10 says the **Trust packet** is used only within keyrings and is not normally exported. It records which keyholders you treat as trustworthy introducers. - Its format is defined by each implementation, and Trust packets SHOULD NOT be emitted to output transferred to other users. - Keeping it private is deliberate: rating a colleague as a careless certifier is not something you publish on their key. ## Publishing trust: trust signatures Sometimes trust should travel, for example when an organisation wants every member to accept keys certified by its security team. The **Trust Signature** subpacket (RFC 9580 section 5.2.3.21) carries a level and an amount: - Level 0 means the same as an ordinary certification. - Level 1 says the key is valid *and* its holder is a trusted introducer. - Level 2 says the holder may issue level 1 trust signatures: a "meta introducer". - Amounts below 120 mean partial trust and 120 or more complete trust; implementations SHOULD emit 60 and 120. A **Regular Expression** subpacket can limit that trust to User IDs that match it, such as addresses ending in `@example.org`, so an organisation's introducer is not trusted to vouch for strangers. ## How a client combines the two RFC 9580 defines the signatures but leaves the calculation to the implementation. A typical computation runs: 1. Keys you own, and keys you certified yourself, are valid. 2. For each valid key, look up the owner trust you assigned to its holder. 3. Another key becomes valid when enough trusted holders have certified it, for example one with complete trust or several with partial trust. The thresholds are local policy. 4. Repeat outward from the newly valid keys, up to a configured depth. In typical implementations owner trust only counts for keys that are themselves valid: a certification made by a key you cannot attribute to anyone carries no weight. ## Side by side, and why mail teams care | | Validity | Owner trust | |---|---|---| | Question answered | Is this key theirs? | Do their certifications count? | | Built from | Certification signatures, including yours | Your own judgement | | Where it lives | On the key, usually exported | Local Trust packets, not exported | | Can be published | Yes, as certifications | Only as a Trust Signature | - Certifying a key is a public statement about identity; it is not an endorsement of the holder's judgement. - When a partner's lawyer accepts a volunteer's key because the foundation's security key certified it, the lawyer has given the security key owner trust; that is the decision to make deliberately. - An organisation that wants hierarchy inside OpenPGP builds it from a level 1 trust signature scoped to its domain, not from certifying every key in sight.

  • Why does RFC 9580 keep Trust packets out of exported keys?
    They record your private view of which keyholders certify carefully. Publishing them would expose personal judgements about colleagues and let others' clients inherit trust settings they never chose. RFC 9580 therefore says Trust packets SHOULD NOT be emitted to output streams transferred to other users and SHOULD be ignored on any input other than local keyring files.
  • What should an organisation use if it wants its members to accept keys certified by a central security key?
    A Trust Signature at level 1 on that security key, made by each member or distributed for them to accept, marks it as a trusted introducer. Adding a Regular Expression subpacket scoped to the organisation's own addresses keeps that introducer from vouching for keys outside the domain.

  • Signing someone's key means you trust every key they have signed.
  • Owner trust is published on the key so that everyone sees it.
  • A key with no owner trust cannot be used to encrypt mail.
  • RFC 9580 fixes how many certifications make a key valid.
  • A level 0 trust signature makes the holder a trusted introducer.