When deserializing to RDF, implementations MUST ensure that the base URL is set to null.
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
Should not verify VC with invalid base URL: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '615', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=HzuZlemIGckrPGVk46pqBlnqIqQDzRHL53cFk2bUOrRKy0m5DEPnExRDch9d7VNwDwdJJI7qKzpwubZfcqCYlLsP9cTuWZCK8VkUfzAb600NSx93ElfqkZTvgK%2Bs10453982ohv%2Bf0gWIeoEyxOB"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f8725dda48547c-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8627&min_rtt=8595&rtt_var=3287&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2492&recv_bytes=1612&delivery_rate=322638&cwnd=250&unsent_bytes=0&cid=452faf8c289baa3e&ts=845&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Should not verify VC with invalid base URL: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '615', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=HzuZlemIGckrPGVk46pqBlnqIqQDzRHL53cFk2bUOrRKy0m5DEPnExRDch9d7VNwDwdJJI7qKzpwubZfcqCYlLsP9cTuWZCK8VkUfzAb600NSx93ElfqkZTvgK%2Bs10453982ohv%2Bf0gWIeoEyxOB"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f8725dda48547c-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8627&min_rtt=8595&rtt_var=3287&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2492&recv_bytes=1612&delivery_rate=322638&cwnd=250&unsent_bytes=0&cid=452faf8c289baa3e&ts=845&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:39:7)
|
Conforming processors MUST produce errors when non-conforming documents are consumed.
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
Should not verify VC with invalid "proof.type": expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '41', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=2qFgyCr17YxfVch37mLsGguGTzVPJTTsnGKIMM7zwqvjxoK6VyfQjSSLZmiewpHGgCdDMSZJqaTr2H%2Bf7DK5W6eYkbqH%2BludDlssoeURIJkvpLX9x8P8YumPUR698QRr3%2FpnrNcIqkthwMPeVD3a"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f872631ffacba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8384&min_rtt=8238&rtt_var=1802&sent=9&recv=8&lost=0&retrans=0&sent_bytes=5708&recv_bytes=2590&delivery_rate=678707&cwnd=249&unsent_bytes=0&cid=e34c72721630c951&ts=977&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Should not verify VC with invalid "proof.type": expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '41', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=2qFgyCr17YxfVch37mLsGguGTzVPJTTsnGKIMM7zwqvjxoK6VyfQjSSLZmiewpHGgCdDMSZJqaTr2H%2Bf7DK5W6eYkbqH%2BludDlssoeURIJkvpLX9x8P8YumPUR698QRr3%2FpnrNcIqkthwMPeVD3a"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f872631ffacba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8384&min_rtt=8238&rtt_var=1802&sent=9&recv=8&lost=0&retrans=0&sent_bytes=5708&recv_bytes=2590&delivery_rate=678707&cwnd=249&unsent_bytes=0&cid=e34c72721630c951&ts=977&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:51:7)
|
If either securedDocument is not a map or securedDocument.proof is not a map, an error MUST be raised and SHOULD convey an error type of PARSING_ERROR.
|
β
|
β
|
β
Received 500 Internal Server Error.: expected 500 to be one of [ 400, 422 ]
AssertionError: Received 500 Internal Server Error.: expected 500 to be one of [ 400, 422 ]
at shouldBeErrorResponse (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:278:28)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:85:3)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:68:7)
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
MUST not verify VC with proof that is not a map.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '24', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=P2T0M%2FTiUT5yT9xnde0Ie6boe5kmgz9uN1Pyyt5Lgrs%2BorbFSXMVIvHMyXHpXJJQDyl5r5fRDs7RiKQ%2BkuZKKpY2UF9aBtHr3dEyJTEhJ%2BjCnKvrdVBrGbXy06Xa9VkncI8xsTaNcIVJc2Dm6ZG4"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f87263ea40cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8751&min_rtt=8238&rtt_var=1737&sent=13&recv=10&lost=0&retrans=0&sent_bytes=8435&recv_bytes=3346&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1090&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: MUST not verify VC with proof that is not a map.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '24', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=P2T0M%2FTiUT5yT9xnde0Ie6boe5kmgz9uN1Pyyt5Lgrs%2BorbFSXMVIvHMyXHpXJJQDyl5r5fRDs7RiKQ%2BkuZKKpY2UF9aBtHr3dEyJTEhJ%2BjCnKvrdVBrGbXy06Xa9VkncI8xsTaNcIVJc2Dm6ZG4"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f87263ea40cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8751&min_rtt=8238&rtt_var=1737&sent=13&recv=10&lost=0&retrans=0&sent_bytes=8435&recv_bytes=3346&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1090&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:63:7)
|
If one or more of proof.type, proof.verificationMethod, and proof.proofPurpose does not exist, an error MUST be raised and SHOULD convey an error type of PROOF_VERIFICATION_ERROR
|
β
|
β
|
β
MUST not verify VC w/o "proof.verificationMethod".": expected undefined to exist
AssertionError: MUST not verify VC w/o "proof.verificationMethod".": expected undefined to exist
at should.exist (node_modules/chai/lib/chai/interface/should.js:144:34)
at shouldBeErrorResponse (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:274:10)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:85:3)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:95:7)
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
MUST not verify VC w/o a proof: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '11', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=droBcAjYP6kLfnhjZ%2FRvrRyvTREdsJngX4KrFOWQguANy4N8JY3QeKWLBkB1bOHuqI1rSRI7MkBh%2FYjB9ktukgdDLJzvvwmWxqGM9L7tqY4P9ujITEFNvwzzTGgD9vXuZgacvOtRlBfNg6Hp1GA%2F"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f872649c4dcba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=9052&min_rtt=8238&rtt_var=1584&sent=17&recv=12&lost=0&retrans=0&sent_bytes=11167&recv_bytes=4089&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1191&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: MUST not verify VC w/o a proof: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '11', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=droBcAjYP6kLfnhjZ%2FRvrRyvTREdsJngX4KrFOWQguANy4N8JY3QeKWLBkB1bOHuqI1rSRI7MkBh%2FYjB9ktukgdDLJzvvwmWxqGM9L7tqY4P9ujITEFNvwzzTGgD9vXuZgacvOtRlBfNg6Hp1GA%2F"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f872649c4dcba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=9052&min_rtt=8238&rtt_var=1584&sent=17&recv=12&lost=0&retrans=0&sent_bytes=11167&recv_bytes=4089&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1191&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:82:7)
|
If the "proof.type" field is not the string "Ed25519Signature2020", an error MUST be raised.
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
Should not verify VC with invalid "proof.type": expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '11', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2FZijsusDY1vMCynnNGcLxuD%2FA%2FDchDJxtzygPGSOhnUhvlRCy30glAMCcbLKvYvZv8rGtu9oyYyr19xJGNZcXBR2Zt%2FSx%2Ff6RaP%2Bp9BlvhMx%2BupRaHqYxCY48B4EegGs4Qxbz9RHILl26jP%2BEMtx"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f872653e82cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8981&min_rtt=8238&rtt_var=1331&sent=20&recv=14&lost=0&retrans=0&sent_bytes=13898&recv_bytes=5194&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1291&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Should not verify VC with invalid "proof.type": expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '11', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2FZijsusDY1vMCynnNGcLxuD%2FA%2FDchDJxtzygPGSOhnUhvlRCy30glAMCcbLKvYvZv8rGtu9oyYyr19xJGNZcXBR2Zt%2FSx%2Ff6RaP%2Bp9BlvhMx%2BupRaHqYxCY48B4EegGs4Qxbz9RHILl26jP%2BEMtx"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f872653e82cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8981&min_rtt=8238&rtt_var=1331&sent=20&recv=14&lost=0&retrans=0&sent_bytes=13898&recv_bytes=5194&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1291&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:126:9)
|
If expectedProofPurpose was given, and it does not match proof.proofPurpose, an error MUST be raised and SHOULD convey an error type of PROOF_VERIFICATION_ERROR.
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
Verifier should reject VC with invalid proof purpose.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:40 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '11', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=YpCKNMQZRBrxyUJOY%2B9nH%2BbgYyQWnFhSV9z2GbaCp8OUhTmK%2BdoQSSeuXDDcaPznk4uH50ovPfXqrBI%2BTMvLmUVjXNLj3afWHvD9iwqjypQE4QVdAy0erzv44sv4CThezSgsbw30own9e8pEaMc9"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f87265d836cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8956&min_rtt=8238&rtt_var=1048&sent=23&recv=16&lost=0&retrans=0&sent_bytes=16639&recv_bytes=6301&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1391&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Verifier should reject VC with invalid proof purpose.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:40 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '11', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=YpCKNMQZRBrxyUJOY%2B9nH%2BbgYyQWnFhSV9z2GbaCp8OUhTmK%2BdoQSSeuXDDcaPznk4uH50ovPfXqrBI%2BTMvLmUVjXNLj3afWHvD9iwqjypQE4QVdAy0erzv44sv4CThezSgsbw30own9e8pEaMc9"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f87265d836cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8956&min_rtt=8238&rtt_var=1048&sent=23&recv=16&lost=0&retrans=0&sent_bytes=16639&recv_bytes=6301&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1391&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:139:7)
|
The proofValue property MUST be used, as specified in 2.1 Proofs.
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
MUST not verify VC with no "proofValue".: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '134', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=VxXI4oKmETpz8nO7c1EY4jssvsuwSRa7%2BGxs%2FK3bZJlAnMTAjIbwp95MxFRV3Gd5t8XFTGa%2Fq0Ln9NVAyHDBH6DLbaIKOeR70K%2F7SfyNUiaUg83XC7YHjgSmdt1qT2zJFd%2B0m1%2FUYAje0AtApFNz"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f8725ddf52cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8378&min_rtt=8238&rtt_var=3190&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2492&recv_bytes=1485&delivery_rate=346686&cwnd=245&unsent_bytes=0&cid=e34c72721630c951&ts=373&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: MUST not verify VC with no "proofValue".: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '134', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=VxXI4oKmETpz8nO7c1EY4jssvsuwSRa7%2BGxs%2FK3bZJlAnMTAjIbwp95MxFRV3Gd5t8XFTGa%2Fq0Ln9NVAyHDBH6DLbaIKOeR70K%2F7SfyNUiaUg83XC7YHjgSmdt1qT2zJFd%2B0m1%2FUYAje0AtApFNz"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f8725ddf52cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8378&min_rtt=8238&rtt_var=3190&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2492&recv_bytes=1485&delivery_rate=346686&cwnd=245&unsent_bytes=0&cid=e34c72721630c951&ts=373&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async shouldBeProofValue (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:311:3)
|
("proof.proofValue") A string value that contains the base-encoded binary data necessary to verify the digital proof using the verificationMethod specified. The contents of the value MUST be expressed with a header and encoding as described in Section 2.4 Multibase of the Controller Documents 1.0 specification.
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
MUST not verify VC with no "proofValue".: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '134', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=VxXI4oKmETpz8nO7c1EY4jssvsuwSRa7%2BGxs%2FK3bZJlAnMTAjIbwp95MxFRV3Gd5t8XFTGa%2Fq0Ln9NVAyHDBH6DLbaIKOeR70K%2F7SfyNUiaUg83XC7YHjgSmdt1qT2zJFd%2B0m1%2FUYAje0AtApFNz"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f8725ddf52cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8378&min_rtt=8238&rtt_var=3190&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2492&recv_bytes=1485&delivery_rate=346686&cwnd=245&unsent_bytes=0&cid=e34c72721630c951&ts=373&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: MUST not verify VC with no "proofValue".: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:39 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '134', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=VxXI4oKmETpz8nO7c1EY4jssvsuwSRa7%2BGxs%2FK3bZJlAnMTAjIbwp95MxFRV3Gd5t8XFTGa%2Fq0Ln9NVAyHDBH6DLbaIKOeR70K%2F7SfyNUiaUg83XC7YHjgSmdt1qT2zJFd%2B0m1%2FUYAje0AtApFNz"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f8725ddf52cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8378&min_rtt=8238&rtt_var=3190&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2492&recv_bytes=1485&delivery_rate=346686&cwnd=245&unsent_bytes=0&cid=e34c72721630c951&ts=373&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async shouldBeProofValue (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:311:3)
|
Implementations that use JSON-LD processing, such as RDF Dataset Canonicalization [RDF-CANON], MUST throw an error, which SHOULD be DATA_LOSS_DETECTION_ERROR, when data is dropped by a JSON-LD processor, such as when an undefined term is detected in an input document.
|
β
|
β
|
β
|
β
|
β
|
β
Should fail to verify VC if an undefined term is added after issuance.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:17 GMT', 'content-type': 'application/json', 'content-length': '2', connection: 'keep-alive', 'content-security-policy': "frame-ancestors 'none'", vary: 'Origin, Origin', 'x-content-type-options': 'nosniff', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'referrer-policy': 'no-referrer', Authorization: 'sanitized to prevent exposure of secrets' }, body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true }, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Should fail to verify VC if an undefined term is added after issuance.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:17 GMT', 'content-type': 'application/json', 'content-length': '2', connection: 'keep-alive', 'content-security-policy': "frame-ancestors 'none'", vary: 'Origin, Origin', 'x-content-type-options': 'nosniff', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'referrer-policy': 'no-referrer', Authorization: 'sanitized to prevent exposure of secrets' }, body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true }, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:172:7)
|
β
|
β
|
β
|
β
|
β
|
β
Should fail to verify VC when data is dropped by JSON-LD: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:40 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '32', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=K6N76VUdEXLl%2FIegUfBdFY3lZTccrlmV%2FFp1QVOi05NQjQqveW1BKiy3UIAQ0FYC5E7aTrxmYfLV2jpZ1V%2Ff1sCHJv8jpOdYnmcd91iyZssx%2BcC0JKfk%2BWyUwojD5rPnXTlNxBoPFnvbjKIn4IMV"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f872668a37cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8911&min_rtt=8238&rtt_var=875&sent=26&recv=18&lost=0&retrans=0&sent_bytes=19399&recv_bytes=7441&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1512&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Should fail to verify VC when data is dropped by JSON-LD: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:40 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '32', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=K6N76VUdEXLl%2FIegUfBdFY3lZTccrlmV%2FFp1QVOi05NQjQqveW1BKiy3UIAQ0FYC5E7aTrxmYfLV2jpZ1V%2Ff1sCHJv8jpOdYnmcd91iyZssx%2BcC0JKfk%2BWyUwojD5rPnXTlNxBoPFnvbjKIn4IMV"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f872668a37cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=8911&min_rtt=8238&rtt_var=875&sent=26&recv=18&lost=0&retrans=0&sent_bytes=19399&recv_bytes=7441&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1512&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:165:7)
|
The value of the cryptosuite property MUST be a string that identifies the cryptographic suite. If the processing environment supports subtypes of string, the type of the cryptosuite value MUST be the https://w3id.org/security#cryptosuiteString subtype of string.
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
|
β
Expected no result from verifier.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:40 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=hvrWXuy5bV0ih7M57laAPFEfhreJF9vfMiqo2Zp%2FzvGiipjLE7iQRTz7h6ae7%2FCIvmMYEop2aYqy8EQCbRB6g2eGqlvukv9Y%2Bd%2FSkBlC8skM7eyiFLbfs1Mg3f6B7QjjmzbK1ZKrgV6oV%2BqWgNQN"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f872674c61cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=9153&min_rtt=8238&rtt_var=1111&sent=30&recv=20&lost=0&retrans=0&sent_bytes=22133&recv_bytes=8557&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1615&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
AssertionError: Expected no result from verifier.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 13 Apr 2025 05:08:40 GMT', 'content-type': 'text/html; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'keep-alive', 'cache-control': 'no-cache,no-store', expires: '-1', pragma: 'no-cache', 'x-envoy-upstream-service-time': '10', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=hvrWXuy5bV0ih7M57laAPFEfhreJF9vfMiqo2Zp%2FzvGiipjLE7iQRTz7h6ae7%2FCIvmMYEop2aYqy8EQCbRB6g2eGqlvukv9Y%2Bd%2FSkBlC8skM7eyiFLbfs1Mg3f6B7QjjmzbK1ZKrgV6oV%2BqWgNQN"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92f872674c61cba6-LAX', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=9153&min_rtt=8238&rtt_var=1111&sent=30&recv=20&lost=0&retrans=0&sent_bytes=22133&recv_bytes=8557&delivery_rate=678707&cwnd=251&unsent_bytes=0&cid=e34c72721630c951&ts=1615&x=0"', Authorization: 'sanitized to prevent exposure of secrets' }, body: null, bodyUsed: false, ok: true, redirected: false, type: 'default', url: '' } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationFail (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:83:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-ed25519signature2020-test-suite/vc-di-ed25519signature2020-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:194:7)
|