RFC 9901: Selective disclosure for JWTs

Summary

In November 2025, Daniel Fett, Kristina Yasuda and Brian Campbell specified the SD-JWT format in RFC 9901, with which holders of a signed token disclose only selected claims from it. Instead of plaintext values, the issuer signs salted hashes, and the holder passes on only the disclosures a recipient really needs. An optional key binding JWT proves that the presenter holds the matching private key.

How selective disclosure works

For each claim, the issuer creates a disclosure from salt, name and value and includes only its hash in the signed token. The result is transmitted as a chain: signed JWT, then the chosen disclosures, each separated by a tilde, and optionally the key binding JWT at the end.

Each claim needs its own random salt, with at least 128 bits recommended. Otherwise a recipient could simply brute-force undisclosed values such as a birth date. Additional decoy digests even hide how many claims a token contains.

Limits of unlinkability

The RFC distinguishes several kinds of unlinkability. Against a verifier who passes presented data back to the issuer, a hash-based method like SD-JWT cannot protect in principle, because the issuer's signature is sent along.

The document explicitly warns of power imbalances: a governmental issuer could legally oblige verifiers to report back, a large provider could push them into it through its ecosystem. Those deploying SD-JWT should mitigate such risks or disclose them to users.

Ideas

  • The issuer signs hashes instead of plaintext.
  • The holder chooses suitable disclosures per recipient.
  • Each claim gets its own salt of at least 128 bits.
  • Decoy digests hide the number of claims.
  • Key binding ties the presentation to the holder's key.
  • Parts are transmitted separated by tildes.

Insights

  • Data minimisation can be enforced cryptographically without giving up verifiability of the issuer.
  • Technology alone does not guarantee unlinkability when issuers can push verifiers into cooperation legally or economically.

Facts

  • RFC 9901 appeared in November 2025 as a Proposed Standard and is 88 pages long.
  • The recommended minimum length of the random part of a salt is 128 bits.
  • An appendix describes SD-JWT-based Verifiable Credentials (SD-JWT VC).
  • Daniel Fett is also a co-author of RFC 9700 on OAuth security.

References

Critique

  • By the RFC's own account, SD-JWT offers no protection against linking by a verifier cooperating with the issuer; for government identity credentials this is a significant limitation.

Remarks

  • At the time of the RFC, Kristina Yasuda worked at Keio University in Japan.

Recommendations

  • As a verifier, request only the claims that are needed for the purpose.
  • Check nonce and audience in the key binding JWT to prevent replay.
  • Store presented data only as long as the purpose requires.

Read the RFC at the RFC Editor

Search the Web Archive

Found a mistake or have something to add? Get in touch.