sd-jwt-format

Explain SD-JWT and SD-JWT+KB data formats with disclosures and key binding.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/sourcelabbg/eudi-knowledge --skill sd-jwt-format
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sd-jwt-format
Source: https://github.com/sourcelabbg/eudi-knowledge/tree/main/.ai/skills/sd-jwt-format
Command: npx skills add https://github.com/sourcelabbg/eudi-knowledge --skill sd-jwt-format

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill clarifies the complex structure and data formats of Secure Data JWTs (SD-JWTs) and SD-JWTs with Key Binding (SD-JWT+KB), enabling accurate implementation and verification.

Core Features & Use Cases

  • SD-JWT Structure: Understand the composition of Issuer-signed JWTs, Disclosures, and Key Binding JWTs.
  • Data Formats: Learn how claims are selectively disclosed using digests and salts.
  • Use Case: When developing a system that issues or verifies Verifiable Credentials using SD-JWTs, this Skill provides the definitive guide to the underlying data formats and their security implications.

Quick Start

Explain the structure of an SD-JWT that includes disclosures and key binding.

Frequently Asked Questions about sd-jwt-format

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the data format structure of an SD-JWT for selective disclosure?

An SD-JWT data format combines an issuer-signed JWT with disclosures containing salts and digests. Selective disclosure is achieved by embedding these digests within the JWT payload, allowing holders to reveal specific claims without exposing the entire credential.

How does key binding work in SD-JWT+KB for cryptographic verification?

Key binding in SD-JWT+KB works by appending a key binding JWT to the SD-JWT for cryptographic verification. This binding JWT proves that the presenter possesses the private key associated with the credential, preventing unauthorized replay or interception by third parties.

How do I serialize and issue Verifiable Credentials using SD-JWTs?

To serialize and issue Verifiable Credentials using SD-JWTs, you generate hashed disclosures for selective claims, embed their digests in the issuer-signed JWT payload, and concatenate the JWT with the serialized disclosure strings.

When do I need to use salts and digests in JWT payloads?

You need to use salts and digests in JWT payloads when implementing selective claim disclosure. Salts ensure uniqueness and prevent dictionary attacks on the disclosed claims, while digests securely bind the disclosed claim values to the issuer-signed JWT.

Can I use SD-JWT with standard JWT libraries for selective disclosure?

Standard JWT libraries can parse the issuer-signed JWT, but SD-JWT requires specific handling for selective disclosure. You must extract digests from the payload, verify them against the provided disclosures with salts, and validate the key binding JWT separately.