From 8d4e16ff5c90ba8f9f2fa1e216820b195b0ca895 Mon Sep 17 00:00:00 2001 From: Wind4Greg Date: Mon, 8 Jul 2024 10:01:59 -0700 Subject: [PATCH] Update error codes in yaml file to match those in spec (html). --- vocab/security/vocabulary.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vocab/security/vocabulary.yml b/vocab/security/vocabulary.yml index 77dc8b9..4fd0184 100644 --- a/vocab/security/vocabulary.yml +++ b/vocab/security/vocabulary.yml @@ -62,7 +62,7 @@ class: label: JSON Web Key Verification Method upper_value: sec:VerificationMethod defined_by: https://www.w3.org/TR/controller-document/#jsonwebkey - context: https://w3id.org/security/jwk/v1 + context: https://w3id.org/security/jwk/v1 - id: Ed25519VerificationKey2020 label: ED2559 Verification Key, 2020 version @@ -365,7 +365,7 @@ property: - id: digestMultibase label: Digest multibase - comment: (Feature at Risk) The Working Group is currently attempting to determine whether cryptographic hash expression formats can be unified across all of the VCWG core specifications. Candidates for this mechanism include `digestSRI` and `digestMultibase`. + comment: (Feature at Risk) The Working Group is currently attempting to determine whether cryptographic hash expression formats can be unified across all of the VCWG core specifications. Candidates for this mechanism include `digestSRI` and `digestMultibase`. range: multibase defined_by: https://www.w3.org/TR/vc-data-integrity/#dfn-digestmultibase context: https://www.w3.org/ns/credentials/v2 @@ -478,16 +478,16 @@ individual: defined_by: https://www.w3.org/TR/vc-data-integrity/#PROOF_GENERATION_ERROR context: none - - id: MALFORMED_PROOF_ERROR + - id: PROOF_VERIFICATION_ERROR type: sec:ProcessingError label: Malformed proof (-17) - defined_by: https://www.w3.org/TR/vc-data-integrity/#MALFORMED_PROOF_ERROR + defined_by: https://www.w3.org/TR/vc-data-integrity/#PROOF_VERIFICATION_ERROR context: none - - id: MISMATCHED_PROOF_PURPOSE_ERROR + - id: PROOF_TRANSFORMATION_ERROR type: sec:ProcessingError label: Mismatched proof purpose (-18) - defined_by: https://www.w3.org/TR/vc-data-integrity/#MISMATCHED_PROOF_PURPOSE_ERROR + defined_by: https://www.w3.org/TR/vc-data-integrity/#PROOF_TRANSFORMATION_ERROR context: none - id: INVALID_DOMAIN_ERROR