Data Integrity proofs: verificationMethod and proofPurpose both carry authority
Data Integrity proofs: verificationMethod and proofPurpose both carry authority A signature over a Verifiable Credential or other structured document does not prove everything by itself. W3C Data Integrity separates the cryptographic proof from the authority expressed by the document. Two fields are especially easy to under-check: verificationMethod identifies the key material, and proofPurpose…
The report discusses the importance of verifying both the verificationMethod and proofPurpose fields in Data Integrity proofs. The verificationMethod identifies the key material used to sign the proof, while the proofPurpose specifies the relationship the proof is meant to establish. The report emphasizes that simply having a valid signature does not guarantee the proof's integrity or the desired relationship.
Verifiers must resolve the verification method from a trusted controller document, confirm the key belongs to the expected controller, and ensure it is authorized for the stated purpose. The report also stresses the need for a clear policy on proof creation time, key status, and controller updates, as well as the importance of using a maintained library for implementing verifiers.
Brief written by urgent.news; may contain errors — check the original.
Source: dev.to