Missing a country or a custom check? Tell us what you need.Book a 15-min call

SD-JWT (Selective Disclosure JWT)

A signed token format that lets the holder reveal only some of the claims it contains.

SD-JWT, specified by the IETF, is a JSON Web Token in which each disclosable claim is replaced by a hash. The holder receives the matching values separately and chooses which ones to reveal to a verifier, who checks them against the issuer's signature. SD-JWT VC builds on it as a format for verifiable credentials.

Where it is used

SD-JWT VC is one of the credential formats of the EU Digital Identity Wallet, and the Swiss swiyu wallet uses it for the e-ID. A typical use is proving age: the holder discloses an "over 18" claim and nothing else. A key binding proves the presentation comes from the wallet the credential was issued to.

How selective disclosure works

For each disclosable claim, the issuer creates a disclosure: a small array of a random salt, the claim name and its value. Only the hash of each disclosure goes into the signed token, sometimes mixed with decoy hashes so the number of claims stays hidden. The holder sends the token with the disclosures they choose, separated by a tilde. The verifier hashes each disclosure and checks that it appears in the signed token.

An optional key binding JWT, signed with a key held in the wallet, proves that the person presenting the token is its holder and wasn't simply sent a copy.

SD-JWT in eIDAS 2.0 and the Swiss E-ID

Under eIDAS 2.0, person identification data in the EU Digital Identity Wallet is issued as SD-JWT VC or mdoc. The Swiss E-ID under the E-ID Act uses SD-JWT VC in the swiyu wallet. Selective disclosure supports data minimisation under the nFADP and the GDPR: a shop that only needs to know a customer is over 18 never receives the name or date of birth.

How secuveri handles it

secuveri accepts swiyu Beta-IDs and saved secuveri Verified IDs from the swiyu wallet, in swiyu's public beta, for identity and for age (over 18 only, with no selfie). Presentations are bound to the holder, and a revocation status shows whether an ID is still valid. The swiyu playground lets you try a presentation and see what was checked and shared.

Frequently asked questions

What is the difference between a JWT and an SD-JWT?
A regular JWT shows every claim it contains to anyone who receives it. An SD-JWT replaces each disclosable claim with a hash, and the holder reveals only the values they choose. The issuer's signature still covers everything, so the verifier can trust the revealed claims without seeing the rest.
What is the difference between SD-JWT VC and mdoc?
Both are credential formats used by the EU Digital Identity Wallet. SD-JWT VC is based on JSON and JSON Web Tokens and comes from the IETF. mdoc, defined in ISO/IEC 18013-5, uses CBOR encoding and was first designed for mobile driving licences, including presentation in person over NFC or Bluetooth.
Contact

Talk to us

Tell us what you’re trying to verify. We’ll show you how secuveri can fit your workflow.

We reply within one business day and use your details only for your inquiry. See our privacy policy.