A verifier receives a credential, recomputes a digest, watches it match, and grants access. Every cryptographic step was correct. The claim that would have stopped the transaction was simply never presented — and nothing in the protocol required it to be.

That is not a flaw in RFC 9901. It is the whole point. Selective disclosure lets a Holder show the one fact a Verifier needs and keep the rest private. The expensive mistake is the step after that, the one no specification writes down: seeing a valid disclosed claim and quietly treating the unshown remainder as known to be empty, negative, or irrelevant.

RFC 9901 defines Selectively Disclosable JSON Web Tokens — SD-JWTs. An Issuer signs a JWT whose payload can carry ordinary cleartext claims alongside digests of claims reserved for selective disclosure. Each disclosure carries a random salt, a claim name where appropriate, and a claim value. When the Holder presents the SD-JWT, it supplies only the disclosures it chooses. A Verifier recomputes each disclosure digest and checks that the digest sits inside the issuer-signed JWT.

The result is precise and narrow: this disclosed value is the value to which this signed structure commits. It is not a statement that these are all the values that matter to the next decision.

Two facts that get merged by accident

  • Integrity of what is shown. Every presented claim is cryptographically bound to the Issuer's signature. A matching digest proves membership in the signed structure.
  • Completeness of what is shown. The presented set is the Holder's selection, not an inventory. Completeness is a separate question with a separate owner.

RFC 9901 permits the Holder to transmit none, some, or all of the issued Disclosures. It permits an Issuer to mix permanently visible claims with selectively disclosable ones. It even permits decoy digests, so an observer cannot reliably infer how many hidden claims exist. A protocol built to support controlled omission cannot simultaneously make omission evidence of a negative fact.

Five statements, one lazy sentence

Walk the evidence chain as five separate statements. The Issuer made a signed claim structure. The Issuer chose which elements could be selectively disclosed. The Holder selected a particular subset for this presentation. The Verifier checked the issuer signature and digest membership. An application then decided whether that validated subset satisfies its own rule.

Collapse those into one sentence — “the credential proved eligibility” — and you have quietly added claims the wire protocol never made. The sentence sounds like a summary. It is actually a new assertion, authored by whoever wrote the log line.

The Issuer signs integrity, not reality

The Issuer's role is the easiest to overread. A signature protects the integrity of the signed structure after issuance. It does not assign a universal meaning to every claim, and it does not certify the quality, age, or scope of the process by which the Issuer came to state it. RFC 7519 defines a JWT as a claims-set format; it does not turn each claim value into an independent observation of current reality. Claim semantics belong to the relevant application and profile. A registered name in the IANA JSON Web Token Claims registry is a useful common label, not a portable entitlement engine.

The Holder picks the frame

The Holder's role is different again. Selective disclosure is holder-controlled presentation. The same Holder may reveal a favourable fact to one Verifier and a different fact to another. That protects privacy, and it also means the presentation is not an inventory. A missing disclosure might have been unavailable, deliberately withheld, irrelevant to the request, represented by a decoy digest, or never made selectively disclosable in the first place.

The correct outcome therefore depends on the Verifier's stated requirement. If a rule needs a complete set of facts, that rule has to request, define, and validate the set. It cannot infer completeness from the elegant absence of an extra field.

Key Binding closes one door, not the house

Optional Key Binding narrows a further gap without erasing the rest. When a Verifier requires it, the Holder presents an SD-JWT+KB: a Key Binding JWT that signs a hash of the SD-JWT together with a nonce and an audience. The Verifier can then test possession of the associated private key for that presentation. That is valuable evidence that a present party controls that key in the verifier's chosen challenge context. It is not a finding that the signed claims remain accurate, that every relevant claim was disclosed, or that the relying system should grant the requested outcome.

The absence of enforced Key Binding matters just as much. RFC 9901 notes that an entity holding an SD-JWT can forward it to a third party that does not enforce Key Binding, and can strip disclosures on the way. A received token therefore cannot silently acquire live-presenter or original-audience evidence its actual validation profile never required.

What a safe profile must keep visible

The standard is explicit about the parts a profile cannot leave to vibes. An Issuer must not make selectively disclosable content that is critical to evaluating authenticity or validity; the exact set is application-dependent. A Verifier must validate the issuer signature and must check that each disclosed value actually matches an included digest. RFC 8725 adds the related lesson that JWT validation rules and explicit types are application-specific. These are boundaries, not optional decoration around a generic yes/no badge.

The audit trail a leader should demand

For anyone running a credential-based control, this changes how the control gets described. Do not record merely “SD-JWT verified.” Record the issuer and verification-key policy; the explicit credential type and profile; which claims were required, presented, and accepted; whether a missing claim was permitted or a denial condition; whether Key Binding was required and verified; the nonce and audience scope; the policy version that evaluated the presentation; and the action that followed.

These are different events. Preserving them separately makes later review possible without converting a privacy feature into a presumption of concealment — the failure mode where a Holder who used the format exactly as designed gets treated as though it had something to hide.

Lu Heng's running-code discipline is useful here as an analytical constraint rather than a slogan. A portable representation is not the same thing as the local decision, and neither is the same thing as the effect that runs afterward. RFC 9901 creates a disciplined way to carry a bounded statement across systems while leaving disclosure choice and decision ownership visible. That restraint is the asset: it lets trust attach to evidence with a known scope instead of to a larger story no participant can actually prove.

Sources