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, 06 Apr 2025 05:02:49 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': '463', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=QhnUTGfk2hPgkAo%2BdM6wCL%2BcV%2B%2FUcetmkHTYzkfCAgmxfxHzSP8ZnG98qkqpBkuC34Dkk4qj4eG3hGYkV6Urki7gqBefVt%2BS3CvFXxloYPAwsy3UiRo2TEDFU4SvP1N0BtbzuSn58lEPzdzWCJFC"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc33ae4dfb2c-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1566&min_rtt=1341&rtt_var=664&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2492&recv_bytes=1612&delivery_rate=2129753&cwnd=251&unsent_bytes=0&cid=87d52037b5acc004&ts=719&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, 06 Apr 2025 05:02:49 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': '463', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=QhnUTGfk2hPgkAo%2BdM6wCL%2BcV%2B%2FUcetmkHTYzkfCAgmxfxHzSP8ZnG98qkqpBkuC34Dkk4qj4eG3hGYkV6Urki7gqBefVt%2BS3CvFXxloYPAwsy3UiRo2TEDFU4SvP1N0BtbzuSn58lEPzdzWCJFC"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc33ae4dfb2c-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1566&min_rtt=1341&rtt_var=664&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2492&recv_bytes=1612&delivery_rate=2129753&cwnd=251&unsent_bytes=0&cid=87d52037b5acc004&ts=719&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, 06 Apr 2025 05:02:49 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': '12', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=s4of9RP0rP9QjjiZLxbtlk4PuMjAwz%2B0LJjFqoIkCgi8Bp76Foc%2BLFuRyOdXsZjy0jp4m72obwFIQgM6zy9lI7I4SDmuKOez9vF1NxS2Idblf%2BuzntYxJQ8eX8zQ3Cv4A4Ee5e5dkJqWs22TvhiC"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc382983cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1180&min_rtt=1158&rtt_var=269&sent=9&recv=8&lost=0&retrans=0&sent_bytes=5700&recv_bytes=2591&delivery_rate=4599033&cwnd=255&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=822&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, 06 Apr 2025 05:02:49 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': '12', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=s4of9RP0rP9QjjiZLxbtlk4PuMjAwz%2B0LJjFqoIkCgi8Bp76Foc%2BLFuRyOdXsZjy0jp4m72obwFIQgM6zy9lI7I4SDmuKOez9vF1NxS2Idblf%2BuzntYxJQ8eX8zQ3Cv4A4Ee5e5dkJqWs22TvhiC"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc382983cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1180&min_rtt=1158&rtt_var=269&sent=9&recv=8&lost=0&retrans=0&sent_bytes=5700&recv_bytes=2591&delivery_rate=4599033&cwnd=255&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=822&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, 06 Apr 2025 05:02:49 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': '20', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=0E1lTetgHkPQnYmTSWdAWdRGAgTRfG2URjp4UclNJil21BIBSVCXLrWkVSzzl2vuf6yG7sbKFSIjxEvunUcMHDGOYYdNn2o3Gk8tbs9mE5XGKo%2F9xs30ERgGbIHeyP0ewSm2g7NhJ%2BqMDW64Agdh"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc38cb69cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1553&min_rtt=1158&rtt_var=892&sent=13&recv=10&lost=0&retrans=0&sent_bytes=8427&recv_bytes=3347&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=931&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, 06 Apr 2025 05:02:49 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': '20', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=0E1lTetgHkPQnYmTSWdAWdRGAgTRfG2URjp4UclNJil21BIBSVCXLrWkVSzzl2vuf6yG7sbKFSIjxEvunUcMHDGOYYdNn2o3Gk8tbs9mE5XGKo%2F9xs30ERgGbIHeyP0ewSm2g7NhJ%2BqMDW64Agdh"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc38cb69cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1553&min_rtt=1158&rtt_var=892&sent=13&recv=10&lost=0&retrans=0&sent_bytes=8427&recv_bytes=3347&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=931&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, 06 Apr 2025 05:02:49 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=SfCN9OJ4VoUZOO76t83L2somZpWy1pvtPSgl6mCvuZE7zItIwXii6fu2dNa2eMn2wTyiW7yn5BB1gH9cnGScaQKwFX%2BPcT4PswU%2Fmg5NMyty0nMaKOYaNQtwHp4kEPr7jxRVGXwNnEmeEZiv9uo9"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc397d30cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1511&min_rtt=1158&rtt_var=753&sent=16&recv=12&lost=0&retrans=0&sent_bytes=11154&recv_bytes=4090&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=1031&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, 06 Apr 2025 05:02:49 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=SfCN9OJ4VoUZOO76t83L2somZpWy1pvtPSgl6mCvuZE7zItIwXii6fu2dNa2eMn2wTyiW7yn5BB1gH9cnGScaQKwFX%2BPcT4PswU%2Fmg5NMyty0nMaKOYaNQtwHp4kEPr7jxRVGXwNnEmeEZiv9uo9"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc397d30cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1511&min_rtt=1158&rtt_var=753&sent=16&recv=12&lost=0&retrans=0&sent_bytes=11154&recv_bytes=4090&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=1031&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, 06 Apr 2025 05:02:50 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': '12', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=2Mh6rwViv5LMTGXXPIeR8ibthhYZTZX5xPwkhPcmzHf1e%2BTk4LEwavonbmc1NwQ1%2BVXbf2nllsfPj219RyJYIdxXYgscyVFrhpx5xfReugEhtSRQsvddoC5gOPgpZDvPeFRAtlReZvutEXCHQUPj"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc3a1e9dcf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1783&min_rtt=1158&rtt_var=1044&sent=20&recv=14&lost=0&retrans=0&sent_bytes=13883&recv_bytes=5196&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=1131&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, 06 Apr 2025 05:02:50 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': '12', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=2Mh6rwViv5LMTGXXPIeR8ibthhYZTZX5xPwkhPcmzHf1e%2BTk4LEwavonbmc1NwQ1%2BVXbf2nllsfPj219RyJYIdxXYgscyVFrhpx5xfReugEhtSRQsvddoC5gOPgpZDvPeFRAtlReZvutEXCHQUPj"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc3a1e9dcf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1783&min_rtt=1158&rtt_var=1044&sent=20&recv=14&lost=0&retrans=0&sent_bytes=13883&recv_bytes=5196&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=1131&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, 06 Apr 2025 05:02:50 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=mxWm%2FNemtdi2yIFjx6cecxYKdywVOwOjks9uyvMI%2BtsBQPjPczfonUkURX1sp1Bzer4giAEfgKDgDKRHH%2BUw3duPC97Tly5ppC0v3kFYDK9c%2BrkbTmjmsvWemnu72TfulyYG1G0oUu66NxJEn%2F6r"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc3ab846cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1965&min_rtt=1158&rtt_var=1185&sent=25&recv=16&lost=0&retrans=0&sent_bytes=16640&recv_bytes=6303&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=1228&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, 06 Apr 2025 05:02:50 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=mxWm%2FNemtdi2yIFjx6cecxYKdywVOwOjks9uyvMI%2BtsBQPjPczfonUkURX1sp1Bzer4giAEfgKDgDKRHH%2BUw3duPC97Tly5ppC0v3kFYDK9c%2BrkbTmjmsvWemnu72TfulyYG1G0oUu66NxJEn%2F6r"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc3ab846cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1965&min_rtt=1158&rtt_var=1185&sent=25&recv=16&lost=0&retrans=0&sent_bytes=16640&recv_bytes=6303&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=1228&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, 06 Apr 2025 05:02:49 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': '51', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7DIQIjBcY2jZB6iOmhM5arekoIteK7D2TtfqkKMk7TlOer6aLpdBzpn0rmJq3qbm98zITGuE9yokupJ72DacdmtTehw3%2F4%2B7NR6xsErse4eMIiqnngRjy1PRWTsLMQi0%2FavVzrUWfr5O7a7J7xB3"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc33ad58cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1168&min_rtt=1158&rtt_var=441&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2491&recv_bytes=1485&delivery_rate=2466321&cwnd=251&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=153&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, 06 Apr 2025 05:02:49 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': '51', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7DIQIjBcY2jZB6iOmhM5arekoIteK7D2TtfqkKMk7TlOer6aLpdBzpn0rmJq3qbm98zITGuE9yokupJ72DacdmtTehw3%2F4%2B7NR6xsErse4eMIiqnngRjy1PRWTsLMQi0%2FavVzrUWfr5O7a7J7xB3"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc33ad58cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1168&min_rtt=1158&rtt_var=441&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2491&recv_bytes=1485&delivery_rate=2466321&cwnd=251&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=153&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, 06 Apr 2025 05:02:49 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': '51', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7DIQIjBcY2jZB6iOmhM5arekoIteK7D2TtfqkKMk7TlOer6aLpdBzpn0rmJq3qbm98zITGuE9yokupJ72DacdmtTehw3%2F4%2B7NR6xsErse4eMIiqnngRjy1PRWTsLMQi0%2FavVzrUWfr5O7a7J7xB3"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc33ad58cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1168&min_rtt=1158&rtt_var=441&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2491&recv_bytes=1485&delivery_rate=2466321&cwnd=251&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=153&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, 06 Apr 2025 05:02:49 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': '51', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7DIQIjBcY2jZB6iOmhM5arekoIteK7D2TtfqkKMk7TlOer6aLpdBzpn0rmJq3qbm98zITGuE9yokupJ72DacdmtTehw3%2F4%2B7NR6xsErse4eMIiqnngRjy1PRWTsLMQi0%2FavVzrUWfr5O7a7J7xB3"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc33ad58cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1168&min_rtt=1158&rtt_var=441&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2491&recv_bytes=1485&delivery_rate=2466321&cwnd=251&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=153&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, 06 Apr 2025 05:02:27 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, 06 Apr 2025 05:02:27 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, 06 Apr 2025 05:02:50 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=LB4EpPRi1xtqGVKluUphcCzKGgep8gqdJRJXmvBUuCIsRczvBH8FcC0uvXJo%2BPgys71APx6YxHYemhmodov8KZr1Fczu2hHR4zmRhMYIIyqheK411BPd3RZO0EuIBn8kAKe%2F%2Fkg4v%2FPlfpsA0hhi"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc3b59dfcf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1877&min_rtt=1158&rtt_var=1065&sent=29&recv=18&lost=0&retrans=0&sent_bytes=19376&recv_bytes=7443&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=1350&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, 06 Apr 2025 05:02:50 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=LB4EpPRi1xtqGVKluUphcCzKGgep8gqdJRJXmvBUuCIsRczvBH8FcC0uvXJo%2BPgys71APx6YxHYemhmodov8KZr1Fczu2hHR4zmRhMYIIyqheK411BPd3RZO0EuIBn8kAKe%2F%2Fkg4v%2FPlfpsA0hhi"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc3b59dfcf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1877&min_rtt=1158&rtt_var=1065&sent=29&recv=18&lost=0&retrans=0&sent_bytes=19376&recv_bytes=7443&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=1350&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, 06 Apr 2025 05:02:50 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=NIBMNK80871oWUWRetsFPDsnlUo6cBVJ8C054n2qhgPDUEYT6jUC1EKspRdBFVxwE7oOvf%2BNZUAvT9mT939mpr5KrEhe5eogd4SQkSCpMTwBfUzC4C5FykhxSTJWFVrqWVsw8bdmjnve6xCHk%2Fds"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc3c1be6cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1802&min_rtt=1158&rtt_var=949&sent=34&recv=20&lost=0&retrans=0&sent_bytes=22137&recv_bytes=8558&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=1451&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, 06 Apr 2025 05:02:50 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=NIBMNK80871oWUWRetsFPDsnlUo6cBVJ8C054n2qhgPDUEYT6jUC1EKspRdBFVxwE7oOvf%2BNZUAvT9mT939mpr5KrEhe5eogd4SQkSCpMTwBfUzC4C5FykhxSTJWFVrqWVsw8bdmjnve6xCHk%2Fds"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '92bebc3c1be6cf1f-SJC', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1802&min_rtt=1158&rtt_var=949&sent=34&recv=20&lost=0&retrans=0&sent_bytes=22137&recv_bytes=8558&delivery_rate=4599033&cwnd=257&unsent_bytes=0&cid=7ba5e4ffcd02aef9&ts=1451&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)
|