AEGIS by ProtoworksDevelopers
Menu

3.2 · Credential formatsWorking

SD-JWT and SD-JWT VC

Selective Disclosure for JavaScript Object Notation (JSON) Web Tokens (SD-JWT) signs a token in which each value the holder may withhold is replaced by the hash of a salted copy of it. The holder receives the salted copies, called disclosures, separately, and sends only those a verifier needs. The verifier hashes them and finds the hashes in the signed token. The credential format built on it adds a type identifier, rules for finding the issuer’s key, and type and display metadata.

Try it

Take RFC 9901’s own example apart: hash each Disclosure, check both signatures, and see the claims the verifier ends with.

An analogy

A form where every answer sits under a scratch-off panel, and the signature covers each panel’s fingerprint.

Where it breaks:

  • Every verifier sees the same signature and the same fingerprints, so two verifiers comparing notes can tell it was the same credential, unless the issuer gave the holder several single-use copies (4.2 Unlinkability, in four directions).
  • Decoy fingerprints can hide how many answers there are.
Precisely

The issuer signs the token with the digests in it RFC9901 §4.1; each disclosure is a salt, a name and a value RFC9901 §4.2; a key-binding token proves the holder’s key is present RFC9901 §4.3.

Its limits on unlinkability RFC9901 §10.1, and decoy digests RFC9901 §10.4.

The credential format names its type with a “vct” value DRAFT-IETF-OAUTH-SD-JWT-VC-19 §2.2.2.1 and publishes type metadata DRAFT-IETF-OAUTH-SD-JWT-VC-19 §5.

Diagram
Issuer’s tokenone digest a claimDisclosuressalt, name, valueHolderpicks what to sendKey-binding tokennonce, audienceVerifierhashes, matchesissuedsomepresent
The issuer signs a token that holds one digest per claim. The disclosures, one per claim, are given to the holder beside it. The holder sends the token with only the disclosures the verifier needs, followed by an optional key-binding token, and the verifier hashes each disclosure and finds it in the signed token.
Who can see what
  • The verifier sees the disclosures sent, the signed token and its digests, and so the number of claims, unless there are decoys. Two verifiers can match the same signature.
What this does not do
  • It does not prove anything about a claim it does not disclose: “over 18” must be issued as its own claim.
Verified against
  • DRAFT-IETF-OAUTH-SD-JWT-VC-19 SD-JWT-based Verifiable Digital Credentials (SD-JWT VC) version draft-19, checked 2026-10-28
  • RFC9901 Selective Disclosure for JSON Web Tokens version RFC 9901, checked 2026-10-28

Last reviewed 2026-10-28. Next review 2027-04-28. Every quotation is checked against the text it quotes, at the version named, before the page is published.