w3c-vcdm-integrity

Add SHA384 or SHA256 digests to W3C Verifiable Credentials for external resource integrity.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the need to ensure that external resources referenced within Verifiable Credentials (VCs) have not been tampered with since the VC was issued, maintaining the integrity of the data.

Core Features & Use Cases

  • Integrity Protection: Provides mechanisms to include cryptographic digests of related resources.
  • Resource Verification: Enables verifiers to confirm the integrity of linked content, such as JSON-LD contexts or external documents.
  • Use Case: When issuing a VC that links to a specific version of a schema or a policy document, use this Skill to embed a hash of that resource, allowing the verifier to confirm they are referencing the exact same content.

Quick Start

Use the w3c-vcdm-integrity skill to add integrity information for a related resource.

Frequently Asked Questions about w3c-vcdm-integrity

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

FAQPage Schema
How do I ensure the integrity of external resources linked in Verifiable Credentials?

To ensure the integrity of external resources linked in Verifiable Credentials, you embed cryptographic digests of those resources directly within the VC. This allows verifiers to confirm that linked content, such as JSON-LD contexts or external documents, has not been tampered with since issuance.

What cryptographic digest formats are supported for VCDM resource integrity?

The VCDM resource integrity mechanism supports including cryptographic digests using SHA384 via digestSRI or SHA256 via digestMultibase. These formats allow verifiers to cryptographically verify the authenticity and exact content of related resources referenced within the credential.

When do I need to add integrity protection to a Verifiable Credential?

You need to add integrity protection to a Verifiable Credential when it links to specific external resources like schema versions or policy documents. Embedding a cryptographic hash of the resource ensures the verifier references the exact same content and detects any tampering.

How do I securely reference a JSON-LD context in a Verifiable Credential?

To securely reference a JSON-LD context in a Verifiable Credential, you include a cryptographic digest of the context resource. This mechanism addresses the need for secure referencing by enabling verifiers to confirm the authenticity and integrity of the linked external data.

Does W3C VCDM support verifying the authenticity of linked external documents?

Yes, W3C VCDM supports verifying the authenticity of linked external documents by including cryptographic digests for related resources. This enables verifiers to confirm content authenticity and ensures that external data linked within the credential remains untampered.

What is the best way to protect linked schema content in VCDM from tampering?

The best way to protect linked schema content in VCDM from tampering is to embed a cryptographic digest of the schema using digestSRI or digestMultibase. This allows verifiers to confirm they are referencing the exact same content originally intended by the issuer.