From 4cef955ccbd8cbafdc8647a7ac8fbc641939599f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthieu=20COLL=C3=89?= Date: Wed, 30 Sep 2026 10:48:06 -0400 Subject: [PATCH] chore(CVJS): bump cert-verifier-js to 6.39.0 Update test fixture to account for the new problemDetails field added to verification step errors in this release. --- package-lock.json | 38 ++----------------- package.json | 2 +- ...failing-signature-cert-verified-steps.json | 6 ++- 3 files changed, 10 insertions(+), 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index 49d9720..3ae8022 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-dev", "license": "MIT", "dependencies": { - "@blockcerts/cert-verifier-js": "^6.38.0", + "@blockcerts/cert-verifier-js": "^6.39.0", "body-parser": "^1.20.2", "express": "^4.21.2" }, @@ -23,9 +23,9 @@ } }, "node_modules/@blockcerts/cert-verifier-js": { - "version": "6.38.0", - "resolved": "https://registry.npmjs.org/@blockcerts/cert-verifier-js/-/cert-verifier-js-6.38.0.tgz", - "integrity": "sha512-NWcNVOKKAQ/qFKmqOBYUruvowlxaDfp078sppdrRZgCIdDA0gNZ/CdVXQDYAFh+SBeGyHxIGSbx3Opw9weNtng==", + "version": "6.39.0", + "resolved": "https://registry.npmjs.org/@blockcerts/cert-verifier-js/-/cert-verifier-js-6.39.0.tgz", + "integrity": "sha512-4S1GBMaWk9ikhWLp8CwigG45mlTI4ggT0uq5+00LpXAUbczpDEN1e46MWcSUROuj8XaDhcEFHwm5C0wwZ1o4cw==", "license": "MIT", "dependencies": { "@blockcerts/ecdsa-secp256k1-signature-2019": "^1.0.2", @@ -679,9 +679,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -699,9 +696,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -719,9 +713,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -739,9 +730,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -759,9 +747,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -779,9 +764,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2286,9 +2268,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2310,9 +2289,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2334,9 +2310,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2358,9 +2331,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ diff --git a/package.json b/package.json index c2a00ba..ac2d2aa 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "homepage": "https://github.com/blockchain-certificates/cvjs-docker#readme", "dependencies": { - "@blockcerts/cert-verifier-js": "^6.38.0", + "@blockcerts/cert-verifier-js": "^6.39.0", "body-parser": "^1.20.2", "express": "^4.21.2" }, diff --git a/test/assertions/failing-signature-cert-verified-steps.json b/test/assertions/failing-signature-cert-verified-steps.json index 010a5cb..7ed9c3d 100644 --- a/test/assertions/failing-signature-cert-verified-steps.json +++ b/test/assertions/failing-signature-cert-verified-steps.json @@ -37,7 +37,11 @@ "status": "failure", "parentStep": "proofVerification", "label": "Comparing hashes", - "errorMessage": "Computed hash does not match remote hash" + "errorMessage": "Computed hash does not match remote hash", + "problemDetails": { + "type": "https://www.w3.org/TR/vc-data-model#CRYPTOGRAPHIC_SECURITY_ERROR", + "detail": "Computed hash does not match remote hash" + } }, { "code": "checkMerkleRoot",