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, 19 Jan 2025 05:06:07 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': '643', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=zYo4GOSNTqpFx55s%2B8MtHPrI38EeuPeX1us%2Fl9rPSm4RF5tGqongcKp6ffm14qZcIw9nBM9usWqk10iXHm%2F%2FB0mdUQybVB70EwUgBRHZtkNrYXGRJH5FLombBxSJW%2F5am%2FuUiPCVnDcsmu4j9KIY"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2758ae3b77-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1727&min_rtt=1675&rtt_var=665&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2442&recv_bytes=1617&delivery_rate=1705074&cwnd=241&unsent_bytes=0&cid=7627f836501c3086&ts=684&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, 19 Jan 2025 05:06:07 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': '643', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=zYo4GOSNTqpFx55s%2B8MtHPrI38EeuPeX1us%2Fl9rPSm4RF5tGqongcKp6ffm14qZcIw9nBM9usWqk10iXHm%2F%2FB0mdUQybVB70EwUgBRHZtkNrYXGRJH5FLombBxSJW%2F5am%2FuUiPCVnDcsmu4j9KIY"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2758ae3b77-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1727&min_rtt=1675&rtt_var=665&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2442&recv_bytes=1617&delivery_rate=1705074&cwnd=241&unsent_bytes=0&cid=7627f836501c3086&ts=684&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-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, 19 Jan 2025 05:06:07 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': '14', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=0lMNaWdNq4Y3jSTlNgrYYykmYcB%2BXdfeMiS3d0oQD3jq1nkUAhyDnX0LLp%2BxvnY0BGiO2Rllbtyu2X4yhQUkbGX01lRQk2TS%2FOY2kL5ZEDBBVA9wdJKaiQWNbBb5Duipz3LMPPCWA5lTt316VWeJ"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2b9ede5a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1049&min_rtt=802&rtt_var=325&sent=9&recv=8&lost=0&retrans=0&sent_bytes=5652&recv_bytes=2601&delivery_rate=4712871&cwnd=255&unsent_bytes=0&cid=6b4059ff04cf37be&ts=717&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, 19 Jan 2025 05:06:07 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': '14', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=0lMNaWdNq4Y3jSTlNgrYYykmYcB%2BXdfeMiS3d0oQD3jq1nkUAhyDnX0LLp%2BxvnY0BGiO2Rllbtyu2X4yhQUkbGX01lRQk2TS%2FOY2kL5ZEDBBVA9wdJKaiQWNbBb5Duipz3LMPPCWA5lTt316VWeJ"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2b9ede5a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1049&min_rtt=802&rtt_var=325&sent=9&recv=8&lost=0&retrans=0&sent_bytes=5652&recv_bytes=2601&delivery_rate=4712871&cwnd=255&unsent_bytes=0&cid=6b4059ff04cf37be&ts=717&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-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.
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
❌
MUST not verify VC with proof that is not a map.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:06:07 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=kJZeR8AVOm4%2Bkl888ovlbafv4fHJqLshWtfp2aQH6epIjdOynVaz%2BTkjhvFk3hh5koYCj1rMKD28JsPnHuN7SJmV5vvwaIcr8fN2%2B2gcF4illci%2FFB4rQvQyOWZHXaSh4%2ByRt%2FMAoUetFKyTESYw"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2bdf015a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1232&min_rtt=756&rtt_var=549&sent=14&recv=11&lost=0&retrans=0&sent_bytes=8432&recv_bytes=3357&delivery_rate=4712871&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=746&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, 19 Jan 2025 05:06:07 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=kJZeR8AVOm4%2Bkl888ovlbafv4fHJqLshWtfp2aQH6epIjdOynVaz%2BTkjhvFk3hh5koYCj1rMKD28JsPnHuN7SJmV5vvwaIcr8fN2%2B2gcF4illci%2FFB4rQvQyOWZHXaSh4%2ByRt%2FMAoUetFKyTESYw"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2bdf015a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1232&min_rtt=756&rtt_var=549&sent=14&recv=11&lost=0&retrans=0&sent_bytes=8432&recv_bytes=3357&delivery_rate=4712871&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=746&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-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 a proof: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:06:07 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=YeQit%2FBjuTXZJMZHhrBIhtDPcDQa1rqXzXRh1pVPSdv2Bezmu6Zxl70bd1QMdi9PWIfsOFPeQIO5%2BthCknzQVrNx0tXacBz0VScIEZSQUB2ZeRaHqsTepUsKgEjhek0ENXsIL3LNsPyfwU86mXzK"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2c0f1e5a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1474&min_rtt=756&rtt_var=867&sent=17&recv=13&lost=0&retrans=0&sent_bytes=11165&recv_bytes=4100&delivery_rate=4712871&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=782&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, 19 Jan 2025 05:06:07 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=YeQit%2FBjuTXZJMZHhrBIhtDPcDQa1rqXzXRh1pVPSdv2Bezmu6Zxl70bd1QMdi9PWIfsOFPeQIO5%2BthCknzQVrNx0tXacBz0VScIEZSQUB2ZeRaHqsTepUsKgEjhek0ENXsIL3LNsPyfwU86mXzK"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2c0f1e5a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1474&min_rtt=756&rtt_var=867&sent=17&recv=13&lost=0&retrans=0&sent_bytes=11165&recv_bytes=4100&delivery_rate=4712871&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=782&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:82:7)
|
✓
|
The type property MUST contain the string DataIntegrityProof.
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
❌
Should not verify VC with invalid "proof.type": expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:06:07 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': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=315MHpAE38C3l4EQ3xIqPfqEOovoMeZeJ4zCai4EtoGvwsPoj31Gfvt8g%2Fl1pylCQB1QA427dYCkyRgeVOn0EkyFB2lUwWkn1Um1uK5Y4dLy60qSTp9jbj7GyJmBy6qkI93guDwImwrGLkf5GAT7"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2c3f405a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1450&min_rtt=756&rtt_var=659&sent=21&recv=16&lost=0&retrans=0&sent_bytes=13919&recv_bytes=5211&delivery_rate=4712871&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=807&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, 19 Jan 2025 05:06:07 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': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=315MHpAE38C3l4EQ3xIqPfqEOovoMeZeJ4zCai4EtoGvwsPoj31Gfvt8g%2Fl1pylCQB1QA427dYCkyRgeVOn0EkyFB2lUwWkn1Um1uK5Y4dLy60qSTp9jbj7GyJmBy6qkI93guDwImwrGLkf5GAT7"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2c3f405a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1450&min_rtt=756&rtt_var=659&sent=21&recv=16&lost=0&retrans=0&sent_bytes=13919&recv_bytes=5211&delivery_rate=4712871&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=807&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:113:11)
|
✓
|
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, 19 Jan 2025 05:06:07 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': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=zR%2FJdUkup7MJbfjJYk1%2BZEu346%2FyV0c0ziCAFrXCwVUrCjW0FuAX8hzTrCmtRBE0aJePgt4yYwEeX8VYye8BeHxEwhxLaPjfdQ72cEARa1gRO%2BE7ph%2BVvnfsGAR3KhBJpcnA4PY3LvtyabB42V%2BL"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2c6f615a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1623&min_rtt=756&rtt_var=956&sent=24&recv=18&lost=0&retrans=0&sent_bytes=16642&recv_bytes=6323&delivery_rate=4712871&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=831&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, 19 Jan 2025 05:06:07 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': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=zR%2FJdUkup7MJbfjJYk1%2BZEu346%2FyV0c0ziCAFrXCwVUrCjW0FuAX8hzTrCmtRBE0aJePgt4yYwEeX8VYye8BeHxEwhxLaPjfdQ72cEARa1gRO%2BE7ph%2BVvnfsGAR3KhBJpcnA4PY3LvtyabB42V%2BL"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2c6f615a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1623&min_rtt=756&rtt_var=956&sent=24&recv=18&lost=0&retrans=0&sent_bytes=16642&recv_bytes=6323&delivery_rate=4712871&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=831&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-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, 19 Jan 2025 05:06:06 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': '58', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5lm%2FTnYF50QSUr%2FkCWF9N6V2uCtbWprSl8a7qWlm8hzoOm9QjIzc5qx%2F7dnrplTiUD9OjIXrmMf3HLRECyiCovvhjMW3E3sYTxuhJcmngqYe0a159SOaHsf%2FiyDXYH7nLpOw7b9y9sQeoWI4Z7ER"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b275b395a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1005&min_rtt=802&rtt_var=446&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2444&recv_bytes=1490&delivery_rate=3561097&cwnd=251&unsent_bytes=0&cid=6b4059ff04cf37be&ts=91&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, 19 Jan 2025 05:06:06 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': '58', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5lm%2FTnYF50QSUr%2FkCWF9N6V2uCtbWprSl8a7qWlm8hzoOm9QjIzc5qx%2F7dnrplTiUD9OjIXrmMf3HLRECyiCovvhjMW3E3sYTxuhJcmngqYe0a159SOaHsf%2FiyDXYH7nLpOw7b9y9sQeoWI4Z7ER"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b275b395a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1005&min_rtt=802&rtt_var=446&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2444&recv_bytes=1490&delivery_rate=3561097&cwnd=251&unsent_bytes=0&cid=6b4059ff04cf37be&ts=91&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-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, 19 Jan 2025 05:06:06 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': '58', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5lm%2FTnYF50QSUr%2FkCWF9N6V2uCtbWprSl8a7qWlm8hzoOm9QjIzc5qx%2F7dnrplTiUD9OjIXrmMf3HLRECyiCovvhjMW3E3sYTxuhJcmngqYe0a159SOaHsf%2FiyDXYH7nLpOw7b9y9sQeoWI4Z7ER"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b275b395a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1005&min_rtt=802&rtt_var=446&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2444&recv_bytes=1490&delivery_rate=3561097&cwnd=251&unsent_bytes=0&cid=6b4059ff04cf37be&ts=91&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, 19 Jan 2025 05:06:06 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': '58', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5lm%2FTnYF50QSUr%2FkCWF9N6V2uCtbWprSl8a7qWlm8hzoOm9QjIzc5qx%2F7dnrplTiUD9OjIXrmMf3HLRECyiCovvhjMW3E3sYTxuhJcmngqYe0a159SOaHsf%2FiyDXYH7nLpOw7b9y9sQeoWI4Z7ER"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b275b395a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1005&min_rtt=802&rtt_var=446&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2444&recv_bytes=1490&delivery_rate=3561097&cwnd=251&unsent_bytes=0&cid=6b4059ff04cf37be&ts=91&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-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 when data is dropped by JSON-LD: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:06:07 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': '7', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wnHi0ntuKGiYQHMkgE%2F8QsngnhcTWsb9Uu9tTYz0kJ4J0Fi96Te5604zSwc1rSrI9kXTZon%2FJLrC4Z%2FQ9XRGlEbpX6S1MghmALylsiFYO2UuseE5FJrfOneybq%2F3XtUs%2Bz4TCoC5j9VGi54jLaBu"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2c8f7d5a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1444&min_rtt=756&rtt_var=850&sent=28&recv=21&lost=0&retrans=0&sent_bytes=19402&recv_bytes=7468&delivery_rate=6403587&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=856&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, 19 Jan 2025 05:06:07 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': '7', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wnHi0ntuKGiYQHMkgE%2F8QsngnhcTWsb9Uu9tTYz0kJ4J0Fi96Te5604zSwc1rSrI9kXTZon%2FJLrC4Z%2FQ9XRGlEbpX6S1MghmALylsiFYO2UuseE5FJrfOneybq%2F3XtUs%2Bz4TCoC5j9VGi54jLaBu"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2c8f7d5a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1444&min_rtt=756&rtt_var=850&sent=28&recv=21&lost=0&retrans=0&sent_bytes=19402&recv_bytes=7468&delivery_rate=6403587&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=856&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:165:7)
|
❌
Should fail to verify VC if an undefined term is added after issuance.: expected Response { status: 200, statusText: 'OK', headers: Headers { server: 'nginx/1.18.0 (Ubuntu)', date: 'Sun, 19 Jan 2025 05:06:09 GMT', 'content-type': 'text/html; charset=utf-8', 'content-length': '0', connection: 'keep-alive', 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 if an undefined term is added after issuance.: expected Response { status: 200, statusText: 'OK', headers: Headers { server: 'nginx/1.18.0 (Ubuntu)', date: 'Sun, 19 Jan 2025 05:06:09 GMT', 'content-type': 'text/html; charset=utf-8', 'content-length': '0', connection: 'keep-alive', 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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:172: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, 19 Jan 2025 05:06:07 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=9vtIzwUa6yiWs05OgZYV%2BcC5C%2FmTfXwG66OxZIXRsmneC1yKhiYfEk0GyI49W8%2Fsf3ID7PYi7SB%2Blm%2FTNQLbDFfDdupy0VFA0ocPe2mG3omZyCbL4jQw4wZCuuTv%2F%2Fb6eRMQrtpvGBmuke%2Fdvr%2FD"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2cbf9a5a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1427&min_rtt=756&rtt_var=583&sent=32&recv=24&lost=0&retrans=0&sent_bytes=22188&recv_bytes=8583&delivery_rate=6403587&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=882&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, 19 Jan 2025 05:06:07 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=9vtIzwUa6yiWs05OgZYV%2BcC5C%2FmTfXwG66OxZIXRsmneC1yKhiYfEk0GyI49W8%2Fsf3ID7PYi7SB%2Blm%2FTNQLbDFfDdupy0VFA0ocPe2mG3omZyCbL4jQw4wZCuuTv%2F%2Fb6eRMQrtpvGBmuke%2Fdvr%2FD"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2cbf9a5a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=1427&min_rtt=756&rtt_var=583&sent=32&recv=24&lost=0&retrans=0&sent_bytes=22188&recv_bytes=8583&delivery_rate=6403587&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=882&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:194:7)
|
✓
|
An OPTIONAL string value (proof.previousProof) or unordered list of string values. Each value identifies another data integrity proof that MUST verify before the current proof is processed.
|
❌
Should verify VC with a string "proof.previousProof".: expected HTTPError: A non-empty JSON Pointer must … { …(6) } to not exist
AssertionError: Should verify VC with a string "proof.previousProof".: expected HTTPError: A non-empty JSON Pointer must … { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:50:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:271:9)
|
❌
Should verify VC with an Array "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Should verify VC with an Array "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:50:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:276:9)
|
❌
Should verify VC with a string "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Should verify VC with a string "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:50:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:271:9)
|
✓
|
❌
Should verify VC with a string "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(5) } to not exist
AssertionError: Should verify VC with a string "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(5) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:50:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:271:9)
|
❌
Should verify VC with a string "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Should verify VC with a string "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:50:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:271:9)
|
❌
Should verify VC with a string "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(5) } to not exist
AssertionError: Should verify VC with a string "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(5) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:50:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:271:9)
|
✓
|
✓
|
❌
Should verify VC with a string "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(5) } to not exist
AssertionError: Should verify VC with a string "proof.previousProof".: expected HTTPError: Request failed with status cod… { …(5) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:50:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:271:9)
|
If an unordered list (proof), all referenced proofs in the array MUST verify.
|
❌
Should verify VC with multiple proofs.: expected HTTPError: A non-empty JSON Pointer must … { …(6) } to not exist
AssertionError: Should verify VC with multiple proofs.: expected HTTPError: A non-empty JSON Pointer must … { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:50:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:285:9)
|
✓
|
✓
|
✓
|
✓
|
❌
Should verify VC with multiple proofs.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
AssertionError: Should verify VC with multiple proofs.: expected HTTPError: Request failed with status cod… { …(6) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:50:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:285:9)
|
✓
|
✓
|
✓
|
❌
Should verify VC with multiple proofs.: expected HTTPError: Request failed with status cod… { …(5) } to not exist
AssertionError: Should verify VC with multiple proofs.: expected HTTPError: Request failed with status cod… { …(5) } to not exist
at should.not.exist (node_modules/chai/lib/chai/interface/should.js:208:38)
at verificationSuccess (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/assertions.js:50:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Context.<anonymous> (file:///home/runner/work/vc-di-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:285:9)
|
If a proof with id equal to previousProof does not exist in allProofs, an error MUST be raised and SHOULD convey an error type of PROOF_VERIFICATION_ERROR.
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
❌
Should not verify VC with invalid "proof.previousProof".: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:06:07 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': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Ozw29uNOPmHTW2mrIdA7j0%2Fzzcup%2B7te%2BDxbfAiyEO2DEOHBO27DJYGtVYZ4V2luyxSklZLB4gRRZO2bjFYhSyQzW6LTF33xVz7u4oVtbuJVt4sQIPEEqP1BkhcV5HLs5AR%2BBS3GpuN0epN0agYX"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2d4ff45a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3767&min_rtt=754&rtt_var=5204&sent=47&recv=35&lost=0&retrans=0&sent_bytes=30472&recv_bytes=13885&delivery_rate=6403587&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=975&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.previousProof".: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:06:07 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': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Ozw29uNOPmHTW2mrIdA7j0%2Fzzcup%2B7te%2BDxbfAiyEO2DEOHBO27DJYGtVYZ4V2luyxSklZLB4gRRZO2bjFYhSyQzW6LTF33xVz7u4oVtbuJVt4sQIPEEqP1BkhcV5HLs5AR%2BBS3GpuN0epN0agYX"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2d4ff45a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3767&min_rtt=754&rtt_var=5204&sent=47&recv=35&lost=0&retrans=0&sent_bytes=30472&recv_bytes=13885&delivery_rate=6403587&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=975&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:295:9)
|
✓
|
If any element of previousProof list has an id attribute that does not match the id attribute of any element of allProofs, an error MUST be raised and SHOULD convey an error type of PROOF_VERIFICATION_ERROR.
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
❌
Should not verify VC with invalid "proof.previousProof".: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:06:07 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': '7', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=yfXXvLscIeh%2BRdOoySigIznJCRUUMnHxzjv197vddee1hqdlOaI62cuWXVWn6k%2BlW%2Fr8yVSHooyMJz04Pq6m8P5kwXU6rU8JBpozr%2BLKkOqDePsvv70LeIgzxvQLONTaqooEQydQYhkHAIGn3eG3"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2d68225a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3370&min_rtt=753&rtt_var=3535&sent=51&recv=38&lost=0&retrans=0&sent_bytes=33203&recv_bytes=15799&delivery_rate=6403587&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=1001&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.previousProof".: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:06:07 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': '7', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=yfXXvLscIeh%2BRdOoySigIznJCRUUMnHxzjv197vddee1hqdlOaI62cuWXVWn6k%2BlW%2Fr8yVSHooyMJz04Pq6m8P5kwXU6rU8JBpozr%2BLKkOqDePsvv70LeIgzxvQLONTaqooEQydQYhkHAIGn3eG3"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2d68225a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3370&min_rtt=753&rtt_var=3535&sent=51&recv=38&lost=0&retrans=0&sent_bytes=33203&recv_bytes=15799&delivery_rate=6403587&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=1001&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:306:9)
|
✓
|
Each value identifies another data integrity proof, all of which MUST also verify for the current proof to be considered verified
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
✓
|
❌
Should not verify VC with a "previousProof" that does not verify.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:06:07 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': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=T39agSqu6OSoL%2BZL3KBxMYj3iqi3AmCC3w%2FmU8MJcSScwPPmOwST1Vv7oJTizabh6FVQkEoe45%2Fy5FmxoZcif%2B%2B%2FaTsnhC2rfI3BS%2FrjnOISrOQBVedYDMgFTbCJuKJMb7GDFlnAfpPG8%2FFA29Kt"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2d987b5a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3207&min_rtt=753&rtt_var=2578&sent=55&recv=41&lost=0&retrans=0&sent_bytes=35913&recv_bytes=17630&delivery_rate=6403587&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=1030&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 a "previousProof" that does not verify.: expected Response { status: 200, statusText: 'OK', headers: Headers { date: 'Sun, 19 Jan 2025 05:06:07 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': '8', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=T39agSqu6OSoL%2BZL3KBxMYj3iqi3AmCC3w%2FmU8MJcSScwPPmOwST1Vv7oJTizabh6FVQkEoe45%2Fy5FmxoZcif%2B%2B%2FaTsnhC2rfI3BS%2FrjnOISrOQBVedYDMgFTbCJuKJMb7GDFlnAfpPG8%2FFA29Kt"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '90444b2d987b5a45-IAD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3207&min_rtt=753&rtt_var=2578&sent=55&recv=41&lost=0&retrans=0&sent_bytes=35913&recv_bytes=17630&delivery_rate=6403587&cwnd=257&unsent_bytes=0&cid=6b4059ff04cf37be&ts=1030&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-eddsa-test-suite/vc-di-eddsa-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-eddsa-test-suite/vc-di-eddsa-test-suite/node_modules/data-integrity-test-suite-assertion/suites/verify.js:316:9)
|
✓
|