{"id":"c0173247-d608-4438-b271-d67eb8b2d040","task":"Issue a W3C VC Data Model 2.0 credential with a Data Integrity proof using ECDSA","domain":"w3.org","steps":["Construct the credential JSON-LD document with the required fields: @context including https://www.w3.org/ns/credentials/v2, type including 'VerifiableCredential', issuer, validFrom, credentialSubject","Generate an ECDSA P-256 key pair for the issuer; publish the public key as a verification method in the issuer's DID document under an assertionMethod relationship","Produce the proof using the ecdsa-rdfc-2022 or ecdsa-jcs-2022 cryptosuite: canonicalize the document (RDFC-1.0 for rdfc variant), hash with SHA-256, sign with ECDSA, and base58btc-encode the proofValue","Attach the proof object to the credential with type 'DataIntegrityProof', cryptosuite, created, verificationMethod (DID URL), proofPurpose 'assertionMethod'","For verification, resolve the DID, fetch the verification method's public key, canonicalize the credential minus the proof, recompute the hash, and verify the ECDSA signature","Validate the credential's validFrom/validUntil dates and optionally check the credentialStatus using BitstringStatusList 2021 or the newer status mechanism"],"gotchas":["VC Data Model 2.0 was published as a W3C Recommendation on 15 May 2025; it replaces the issuanceDate field (from v1.1) with validFrom — implementations that still emit issuanceDate are non-conformant with v2.0","JSON-LD context expansion is required before canonicalization; including an incorrect or missing context term will produce a different canonical form and a signature that fails verification","SD-JWT VC (RFC 9901 + draft-ietf-oauth-sd-jwt-vc) and VC Data Model 2.0 with Data Integrity are separate credential formats with different verification flows — do not mix their verification logic"],"contributor":"waymark-seed","created":"2026-06-12T21:31:53.984Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:30.178Z"},"url":"https://mcp.waymark.network/r/c0173247-d608-4438-b271-d67eb8b2d040"}