🌈

Verifiable Credentials 2.0関連W3C Recommendationが大量に出たのでまとめたリンク集

に公開

2025年5月15日の日本語のプレスリリースより

https://www.w3.org/ja/press-releases/2025/verifiable-credentials-2-0/

TL;DR

* [The Verifiable Credentials 2.0 family of specifications is now a W3C Recommendation | 2025 | News | W3C](https://www.w3.org/news/2025/the-verifiable-credentials-2-0-family-of-specifications-is-now-a-w3c-recommendation/)
* [W3C publishes Verifiable Credentials 2.0 as a W3C Standard, making expression, exchange, and verification of digital credentials easier and more secure | 2025 | Press releases | W3C](https://www.w3.org/press-releases/2025/verifiable-credentials-2-0/)

* [Verifiable Credentials Data Model v2.0](https://www.w3.org/TR/vc-data-model-2.0/)
* [Verifiable Credential Data Integrity 1.0](https://www.w3.org/TR/vc-data-integrity/)
* [Data Integrity EdDSA Cryptosuites v1.0](https://www.w3.org/TR/vc-di-eddsa/)
* [Data Integrity ECDSA Cryptosuites v1.0](https://www.w3.org/TR/vc-di-ecdsa/)
* [Securing Verifiable Credentials using JOSE and COSE](https://www.w3.org/TR/vc-jose-cose/)
* [Controlled Identifiers v1.0](https://www.w3.org/TR/cid-1.0/)
* [Bitstring Status List v1.0](https://www.w3.org/TR/vc-bitstring-status-list/)

* [`https://www.w3.org/ns/credentials/v2`](https://www.w3.org/ns/credentials/v2)
* [`https://www.w3.org/2025/credentials/vcdm/context/v2.jsonld`](https://www.w3.org/2025/credentials/vcdm/context/v2.jsonld)
* [`https://www.w3.org/2018/credentials/`](https://www.w3.org/2018/credentials/)
* [`https://www.w3.org/2018/credentials/v1`](https://www.w3.org/2018/credentials/v1)
* [`https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.html`](https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.html)
* [`https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.ttl`](https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.ttl)
* [`https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.jsonld`](https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.jsonld)
* [`https://www.w3.org/ns/credentials/examples/v2`](https://www.w3.org/ns/credentials/examples/v2)
* [`https://www.w3.org/2025/credentials/vcdm/examples/context/v2.jsonld`](https://www.w3.org/2025/credentials/vcdm/examples/context/v2.jsonld)
* [`https://www.w3.org/ns/credentials/examples#`](https://www.w3.org/ns/credentials/examples#)
* [`https://www.w3.org/2025/credentials/vcdm/examples/vocab/v2/vocabulary.html`](https://www.w3.org/2025/credentials/vcdm/examples/vocab/v2/vocabulary.html)
* [`https://www.w3.org/ns/credentials/undefined-terms/v2`](https://www.w3.org/ns/credentials/undefined-terms/v2)
* [`https://www.w3.org/2025/credentials/vcdm/undefined-terms/context/v2.jsonld`](https://www.w3.org/2025/credentials/vcdm/undefined-terms/context/v2.jsonld)
* [`https://www.w3.org/ns/credentials/undefined-terms#`](https://www.w3.org/ns/credentials/undefined-terms#)
* [`https://www.w3.org/2025/credentials/vcdm/undefined-terms/vocab/v2/vocabulary.html`](https://www.w3.org/2025/credentials/vcdm/undefined-terms/vocab/v2/vocabulary.html)

* [`https://w3id.org/security/data-integrity/v2`](https://w3id.org/security/data-integrity/v2)
* [`https://www.w3.org/2025/credentials/vcdi/context/v2.jsonld`](https://www.w3.org/2025/credentials/vcdi/context/v2.jsonld)
* [`https://w3id.org/security#`](https://w3id.org/security#)
* [`https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.html`](https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.html)
* [`https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.ttl`](https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.ttl)
* [`https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.jsonld`](https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.jsonld)
* [`https://w3id.org/security/multikey/v1`](https://w3id.org/security/multikey/v1).
* [`https://www.w3.org/2025/credentials/vcdi/multikey/context/v1.jsonld`](https://www.w3.org/2025/credentials/vcdi/multikey/context/v1.jsonld)
* [`https://w3id.org/security/jwk/v1`](https://w3id.org/security/jwk/v1)
* [`https://www.w3.org/2025/credentials/vcdi/jwk/context/v1.jsonld`](https://www.w3.org/2025/credentials/vcdi/jwk/context/v1.jsonld)

* [`https://www.w3.org/ns/cid/v1`](https://www.w3.org/ns/cid/v1)
* [`https://www.w3.org/2025/credentials/cid/context/v1.jsonld`](https://www.w3.org/2025/credentials/cid/context/v1.jsonld)

* [`https://www.w3.org/ns/credentials/status/v1`](https://www.w3.org/ns/credentials/status/v1)
* [`https://www.w3.org/2025/credentials/sl/context/v1.jsonld`](https://www.w3.org/2025/credentials/sl/context/v1.jsonld)
* [`https://www.w3.org/ns/credentials/status#`](https://www.w3.org/ns/credentials/status#).
* [`https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.html`](https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.html)
* [`https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.ttl`](https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.ttl)
* [`https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.jsonld`](https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.jsonld)

* [Verifiable Credentials JSON Schema Specification](https://www.w3.org/TR/vc-json-schema/)

* [`https://www.w3.org/ns/credentials/json-schema/v2.json`](https://www.w3.org/ns/credentials/json-schema/v2.json)
* [`https://www.w3.org/ns/credentials/json-schema/v2`](https://www.w3.org/ns/credentials/json-schema/v2)
* [`https://www.w3.org/2022/credentials/v2/json-schema-credential-schema.json`](https://www.w3.org/2022/credentials/v2/json-schema-credential-schema.json)

* [Verifiable Credentials Overview](https://www.w3.org/TR/vc-overview/)

リンク先はすべて英語なので注意

VC 2.0に関するニュース

https://www.w3.org/news/2025/the-verifiable-credentials-2-0-family-of-specifications-is-now-a-w3c-recommendation/

VC 2.0に関するプレスリリース

https://www.w3.org/press-releases/2025/verifiable-credentials-2-0/

今回W3C RecommendationsになったVerifiable Credentials 2.0 familyは以下の7つ

VCDM 2.0と呼ばれるやつ

https://www.w3.org/TR/vc-data-model-2.0/

VCDIと呼ばれるやつ

https://www.w3.org/TR/vc-data-integrity/

VCDIで使われているEdDSA

https://www.w3.org/TR/vc-di-eddsa/

VCDIで使われているECDSA

https://www.w3.org/TR/vc-di-ecdsa/

VCで使われているJOSEとCOSE

https://www.w3.org/TR/vc-jose-cose/

CID 1.0と呼ばれるやつ

https://www.w3.org/TR/cid-1.0/

VCのビット文字列に関するステータスリスト(以降SLと記載)

https://www.w3.org/TR/vc-bitstring-status-list/


Verifiable Credentials 2.0 familyで使われるVocabularyなどのJSON-LD最新版

https://www.w3.org/2025/credentials/

最新版ではVocabulary, Context file, Schemaと分かりやすく分類している

まずはVCDM 2.0のJSON-LD

https://www.w3.org/ns/credentials/v2
https://www.w3.org/2025/credentials/vcdm/context/v2.jsonld

Verifiable Credentials 1.0から頑張ってマイグレーションしたので、以下URLでv1とv2両方のVocabularyを配布している。

https://www.w3.org/2018/credentials/

v1のVocabulary

https://www.w3.org/2018/credentials/v1

v2のVocabulary

https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.html
https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.ttl
https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.jsonld

JSON-LDの例

https://www.w3.org/ns/credentials/examples/v2
https://www.w3.org/2025/credentials/vcdm/examples/context/v2.jsonld

Vocabularyの例

https://www.w3.org/ns/credentials/examples#
https://www.w3.org/2025/credentials/vcdm/examples/vocab/v2/vocabulary.html

未定義のJSON-LD

https://www.w3.org/ns/credentials/undefined-terms/v2
https://www.w3.org/2025/credentials/vcdm/undefined-terms/context/v2.jsonld

未定義のVocabulary

https://www.w3.org/ns/credentials/undefined-terms#
https://www.w3.org/2025/credentials/vcdm/undefined-terms/vocab/v2/vocabulary.html

VCDIのJSON-LD

https://w3id.org/security/data-integrity/v1
https://w3id.org/security/data-integrity/v2
https://www.w3.org/2025/credentials/vcdi/context/v2.jsonld

VCDIのJSON-LDはv1とv2があり、cryptosuiteにcryptosuiteStringを追加することで壊れる実装があるのでW3C Recommendationsになる途中でv2にバージョンアップしている
あとv2ではpreviousProofが追加されている

+        "previousProof": {
+          "@id": "https://w3id.org/security#previousProof",
+          "@type": "@id"
+        },
-        "cryptosuite": "https://w3id.org/security#cryptosuite",
+        "cryptosuite": {
+          "@id": "https://w3id.org/security#cryptosuite",
+          "@type": "https://w3id.org/security#cryptosuiteString"
+        },

参照

https://github.com/w3c/vc-data-integrity/pull/181

VCDI以外でも使えるよう、以下URLでセキュリティに関するVocabularyを配布している(以降Security Vocabularyと記載)

https://w3id.org/security#

https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.html
https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.ttl
https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.jsonld

MultikeyのJSON-LD

https://w3id.org/security/multikey/v1
https://www.w3.org/2025/credentials/vcdi/multikey/context/v1.jsonld

JWKのJSON-LD

https://w3id.org/security/jwk/v1
https://www.w3.org/2025/credentials/vcdi/jwk/context/v1.jsonld

元々Verifiable Credential Data Integrity(VCDI)はLinked Data Signatures(LD Signatures)とかLinked Data Proofs(LD Proofs)と呼ばれていたもので、名称が変わるたびにSecurity Vocabularyのバージョンも上がっていったので、めちゃくちゃDeprecatedがあるのはそのなごりです

参照

https://github.com/w3c-ccg/ld-signatures
https://github.com/w3c-ccg/ld-proofs
https://github.com/w3c-ccg/security-vocab

Security Vocabularyのおまけ

Security VocabularyをVCDI以外でも使えるようにした結果、ActivityPubDIDsが古いSecurity Vocabularyに依存していたりするので、以下w3id.orgの.htaccess読むと、どのJSON-LDを参照しているか分かるようになります。

https://github.com/perma-id/w3id.org/blob/master/security/.htaccess

例えば以下のような記載があったとすると

# Serve default
RewriteRule ^$ https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.html [R=302,L]

RewriteRule ^v1$ https://w3c-ccg.github.io/security-vocab/contexts/security-v1.jsonld [R=302,L]
RewriteRule ^v2$ https://w3c-ccg.github.io/security-vocab/contexts/security-v2.jsonld [R=302,L]

# TODO: make v3 "stable"

RewriteRule ^v3-unstable$ https://w3c-ccg.github.io/security-vocab/contexts/security-v3-unstable.jsonld [R=302,L]

以下URLへアクセスした際、それぞれJSON-LDへリダイレクトされます。

* [https://w3id.org/security](https://w3id.org/security)
* [https://w3id.org/security/v1](https://w3id.org/security/v1)
* [https://w3id.org/security/v2](https://w3id.org/security/v2)
* [https://w3id.org/security/v3-unstable](https://w3id.org/security/v3-unstable.jsonld)

CID 1.0のJSON-LD

https://www.w3.org/ns/cid/v1
https://www.w3.org/2025/credentials/cid/context/v1.jsonld

SLのJSON-LD

https://www.w3.org/ns/credentials/status/v1
https://www.w3.org/2025/credentials/sl/context/v1.jsonld

SLのVocabulary

https://www.w3.org/ns/credentials/status#
https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.html
https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.ttl
https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.jsonld


まだW3C RecommendationsではないもののVC JSON Schemaも配布している

https://www.w3.org/TR/vc-json-schema/

https://www.w3.org/ns/credentials/json-schema/v2.json
https://www.w3.org/ns/credentials/json-schema/v2
https://www.w3.org/2022/credentials/v2/json-schema-credential-schema.json

最後にVCの概要が書かれたGroup Noteの紹介をして終わりにします

https://www.w3.org/TR/vc-overview/

まだVerifiable Credentials 2.0に関連したリンクありそうなので見つかり次第追記しておきます


とりあえずVerifiable Credential (VC/VDC) の活用におけるガバナンスに関する有識者会議(第1回)を追記

https://www.digital.go.jp/councils/verifiable-credential-governance/5a5c145f-85f4-41a5-bc51-4e442c6154b8

リンク以外のおまけ

VocabularyのMedia Type

  • application/ld+json
  • text/turtle
  • text/html

Verifiable Credentials Data Model v2.0で紹介しているMedia Type

  • application/vc
  • application/vp

Securing Verifiable Credentials using JOSE and COSEで紹介しているMedia Type

  • application/vc+jwt
  • application/vp+jwt
  • application/vc+sd-jwt
  • application/vp+sd-jwt
  • application/vc+cose
  • application/vp+cose

Controlled Identifiers v1.0で紹介しているMedia Type

  • application/cid

Controlled Identifiers v1.0で紹介しているMultibaseのHeader

Header Encoding Description
u base64url ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_
z base58btc 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz

Controlled Identifiers v1.0で紹介しているMultihashのHeader

Header Identifier Description
0x12 sha2-256 SHA-2 with 256 bits (32 bytes)
0x20 sha2-384 SHA-2 with 384 bits (48 bytes)
0x16 sha3-256 SHA-3 with 256 bits (32 bytes)
0x15 sha3-384 SHA-3 with 384 bits (48 bytes)

Discussion