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, 26 Jan 2025 05:02:35 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': '447', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2BeBcPdzM1NQjmE3WoIKslI95S2A8zndZ4%2FGO%2BwXu2rFh6XhXcyiIwuqlZghKywWxc7p7keIXOcKu%2BjBw0ZDLL4LZHx1V49SfR5qU%2BuLCyLpL%2FmXIVtH27hYwv7uVodseQZcqEFOZuM8ABG89hMpK"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df39e9cd9e258-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2497&min_rtt=2479&rtt_var=942&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2442&recv_bytes=1611&delivery_rate=1152077&cwnd=251&unsent_bytes=0&cid=35c0b3d2e35a71e4&ts=555&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, 26 Jan 2025 05:02:35 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': '447', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2BeBcPdzM1NQjmE3WoIKslI95S2A8zndZ4%2FGO%2BwXu2rFh6XhXcyiIwuqlZghKywWxc7p7keIXOcKu%2BjBw0ZDLL4LZHx1V49SfR5qU%2BuLCyLpL%2FmXIVtH27hYwv7uVodseQZcqEFOZuM8ABG89hMpK"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df39e9cd9e258-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2497&min_rtt=2479&rtt_var=942&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2442&recv_bytes=1611&delivery_rate=1152077&cwnd=251&unsent_bytes=0&cid=35c0b3d2e35a71e4&ts=555&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, 26 Jan 2025 05:02:35 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': '9', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Vw%2BvNOItx%2Bj2G8lmnQjVNWFyROfkEU%2BrPXOek98gnV6Zc60U%2Fh%2B7cMio1irKJqzHhJEbD4nkMbHp0JA7Yp58zh4ydjdKhoxIZuGYcHwIHR413cQWM%2FkfSIciJuQktfiaVKHRClDJIuY98ywOqCXt"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a20b0bad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3080&min_rtt=2811&rtt_var=977&sent=9&recv=8&lost=0&retrans=0&sent_bytes=5678&recv_bytes=2590&delivery_rate=1313707&cwnd=255&unsent_bytes=0&cid=1ba8967a0cea42af&ts=621&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, 26 Jan 2025 05:02:35 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': '9', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Vw%2BvNOItx%2Bj2G8lmnQjVNWFyROfkEU%2BrPXOek98gnV6Zc60U%2Fh%2B7cMio1irKJqzHhJEbD4nkMbHp0JA7Yp58zh4ydjdKhoxIZuGYcHwIHR413cQWM%2FkfSIciJuQktfiaVKHRClDJIuY98ywOqCXt"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a20b0bad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3080&min_rtt=2811&rtt_var=977&sent=9&recv=8&lost=0&retrans=0&sent_bytes=5678&recv_bytes=2590&delivery_rate=1313707&cwnd=255&unsent_bytes=0&cid=1ba8967a0cea42af&ts=621&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, 26 Jan 2025 05:02:35 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=XDmux0OUhPFLAz2pnZZhstNnUW5HQ%2BORx3H%2FI%2F4Q8nN%2BstkqvkphFbNUjhGSfekw%2BL03OccgKCV9%2FHTABC%2BzTFj2sKTirUgqK9JGmESpNp%2BJ75bT7aqp%2FqlsO4360sYyoj7tMu9zeF8%2BXaSMZKO4"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a26b61ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3055&min_rtt=2811&rtt_var=782&sent=12&recv=10&lost=0&retrans=0&sent_bytes=8409&recv_bytes=3346&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=685&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, 26 Jan 2025 05:02:35 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=XDmux0OUhPFLAz2pnZZhstNnUW5HQ%2BORx3H%2FI%2F4Q8nN%2BstkqvkphFbNUjhGSfekw%2BL03OccgKCV9%2FHTABC%2BzTFj2sKTirUgqK9JGmESpNp%2BJ75bT7aqp%2FqlsO4360sYyoj7tMu9zeF8%2BXaSMZKO4"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a26b61ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3055&min_rtt=2811&rtt_var=782&sent=12&recv=10&lost=0&retrans=0&sent_bytes=8409&recv_bytes=3346&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=685&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, 26 Jan 2025 05:02:36 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=waI8CFjxJ%2BaOadxYH7rtCHYIvbhWEwOuLL6BRtr5U7oIQiDXDB5Oo3cIWJi2YPyfVCViwlkbENIduohJlkZiN%2BtgbzFTe2FrISaEx2qGqr7V8ziXbszhZnO%2FbSQA7xD%2BcidIU9zaneEhdpZar75d"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a2dbb9ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3306&min_rtt=2811&rtt_var=929&sent=16&recv=12&lost=0&retrans=0&sent_bytes=11178&recv_bytes=4089&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=755&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, 26 Jan 2025 05:02:36 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=waI8CFjxJ%2BaOadxYH7rtCHYIvbhWEwOuLL6BRtr5U7oIQiDXDB5Oo3cIWJi2YPyfVCViwlkbENIduohJlkZiN%2BtgbzFTe2FrISaEx2qGqr7V8ziXbszhZnO%2FbSQA7xD%2BcidIU9zaneEhdpZar75d"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a2dbb9ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3306&min_rtt=2811&rtt_var=929&sent=16&recv=12&lost=0&retrans=0&sent_bytes=11178&recv_bytes=4089&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=755&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, 26 Jan 2025 05:02:36 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=oYXJvtJXAibEjLPu7uTNKXho0yc701sZBayZkBtZoV0Yu5t%2BKF9s%2FjhVQcfP31TyJDrw8ctNIeN6teNSuS8Yh2MfU8H8KE%2Bsl6u6uA%2BcUDg2G2%2FILGu1dcGbyS9PnmvCvchTI%2B3lC6Eqr8TjNsyO"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a34c12ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3265&min_rtt=2811&rtt_var=778&sent=19&recv=14&lost=0&retrans=0&sent_bytes=13935&recv_bytes=5194&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=826&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, 26 Jan 2025 05:02:36 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=oYXJvtJXAibEjLPu7uTNKXho0yc701sZBayZkBtZoV0Yu5t%2BKF9s%2FjhVQcfP31TyJDrw8ctNIeN6teNSuS8Yh2MfU8H8KE%2Bsl6u6uA%2BcUDg2G2%2FILGu1dcGbyS9PnmvCvchTI%2B3lC6Eqr8TjNsyO"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a34c12ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3265&min_rtt=2811&rtt_var=778&sent=19&recv=14&lost=0&retrans=0&sent_bytes=13935&recv_bytes=5194&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=826&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, 26 Jan 2025 05:02:36 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=1mbem8mCkW%2F4OOkeG04sn8%2BeVPRItq1AJNqjveQjjd3jjHHXyyBDNeXQrh4deygEHNPVNGALtGRsRdI7RwwSfyWdWNXp9LZ5Da0TQ4%2Bli5opWyzkkrdHj1nPbx9s%2FqLhZkub3D1DU47%2Bw67lyZB%2F"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a3bc69ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3249&min_rtt=2811&rtt_var=616&sent=22&recv=16&lost=0&retrans=0&sent_bytes=16670&recv_bytes=6301&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=895&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, 26 Jan 2025 05:02:36 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=1mbem8mCkW%2F4OOkeG04sn8%2BeVPRItq1AJNqjveQjjd3jjHHXyyBDNeXQrh4deygEHNPVNGALtGRsRdI7RwwSfyWdWNXp9LZ5Da0TQ4%2Bli5opWyzkkrdHj1nPbx9s%2FqLhZkub3D1DU47%2Bw67lyZB%2F"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a3bc69ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3249&min_rtt=2811&rtt_var=616&sent=22&recv=16&lost=0&retrans=0&sent_bytes=16670&recv_bytes=6301&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=895&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, 26 Jan 2025 05:02:35 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': '39', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZPmHZkR7VaOKHjDeZDICl%2FtoClThvDySTV9tjDLgu86ECMi67NaiBRKZaA%2FWJFwSJChsPZHiD0mIlwIJ6wIMbJqQuiuvYT3SamKT8htAzdtGaJem5off1oaheuIFEubyYSA%2FleEuiEwPkcDwZ4nV"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df39e9849ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2908&min_rtt=2811&rtt_var=1123&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2442&recv_bytes=1485&delivery_rate=1016008&cwnd=251&unsent_bytes=0&cid=1ba8967a0cea42af&ts=197&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, 26 Jan 2025 05:02:35 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': '39', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZPmHZkR7VaOKHjDeZDICl%2FtoClThvDySTV9tjDLgu86ECMi67NaiBRKZaA%2FWJFwSJChsPZHiD0mIlwIJ6wIMbJqQuiuvYT3SamKT8htAzdtGaJem5off1oaheuIFEubyYSA%2FleEuiEwPkcDwZ4nV"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df39e9849ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2908&min_rtt=2811&rtt_var=1123&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2442&recv_bytes=1485&delivery_rate=1016008&cwnd=251&unsent_bytes=0&cid=1ba8967a0cea42af&ts=197&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, 26 Jan 2025 05:02:35 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': '39', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZPmHZkR7VaOKHjDeZDICl%2FtoClThvDySTV9tjDLgu86ECMi67NaiBRKZaA%2FWJFwSJChsPZHiD0mIlwIJ6wIMbJqQuiuvYT3SamKT8htAzdtGaJem5off1oaheuIFEubyYSA%2FleEuiEwPkcDwZ4nV"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df39e9849ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2908&min_rtt=2811&rtt_var=1123&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2442&recv_bytes=1485&delivery_rate=1016008&cwnd=251&unsent_bytes=0&cid=1ba8967a0cea42af&ts=197&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, 26 Jan 2025 05:02:35 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': '39', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZPmHZkR7VaOKHjDeZDICl%2FtoClThvDySTV9tjDLgu86ECMi67NaiBRKZaA%2FWJFwSJChsPZHiD0mIlwIJ6wIMbJqQuiuvYT3SamKT8htAzdtGaJem5off1oaheuIFEubyYSA%2FleEuiEwPkcDwZ4nV"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df39e9849ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=2908&min_rtt=2811&rtt_var=1123&sent=4&recv=5&lost=0&retrans=0&sent_bytes=2442&recv_bytes=1485&delivery_rate=1016008&cwnd=251&unsent_bytes=0&cid=1ba8967a0cea42af&ts=197&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, 26 Jan 2025 05:02:16 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, 26 Jan 2025 05:02:16 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, 26 Jan 2025 05:02:36 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': '34', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=rPlZSV%2FKim9E8zxEDw8T4C0gIFsc3LA6anqvPkv7GiqH8zMYU%2B04YVZxewewB4p%2BEFAh20krLFQ320w7kIQ060pZDVsOYPrxsMArsRjEWkjkWnHdzNYj0diGjKy%2BWRhl5rkBoCI6dhGDIkBoiKq%2B"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a42cf0ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3215&min_rtt=2811&rtt_var=529&sent=25&recv=18&lost=0&retrans=0&sent_bytes=19404&recv_bytes=7440&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=988&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, 26 Jan 2025 05:02:36 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': '34', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=rPlZSV%2FKim9E8zxEDw8T4C0gIFsc3LA6anqvPkv7GiqH8zMYU%2B04YVZxewewB4p%2BEFAh20krLFQ320w7kIQ060pZDVsOYPrxsMArsRjEWkjkWnHdzNYj0diGjKy%2BWRhl5rkBoCI6dhGDIkBoiKq%2B"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a42cf0ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3215&min_rtt=2811&rtt_var=529&sent=25&recv=18&lost=0&retrans=0&sent_bytes=19404&recv_bytes=7440&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=988&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, 26 Jan 2025 05:02:36 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=DjD3seVd8Vk1tb8hvkLQ2GmmNnAasBgUWyRm9ebIG7OEklKthX2o6DzdbjPg8lKaa3n4UdtZP%2BQUCfOoRijlUuyDAWuRawW3XI66VEG%2F6Asg22MYVIZxkoYZoMwKDtTJCfE4lZuFVFXnUH%2FNzIR5"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a4bd54ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3183&min_rtt=2811&rtt_var=462&sent=28&recv=20&lost=0&retrans=0&sent_bytes=22137&recv_bytes=8556&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=1051&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, 26 Jan 2025 05:02:36 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=DjD3seVd8Vk1tb8hvkLQ2GmmNnAasBgUWyRm9ebIG7OEklKthX2o6DzdbjPg8lKaa3n4UdtZP%2BQUCfOoRijlUuyDAWuRawW3XI66VEG%2F6Asg22MYVIZxkoYZoMwKDtTJCfE4lZuFVFXnUH%2FNzIR5"}],"group":"cf-nel","max_age":604800}', nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', server: 'cloudflare', 'cf-ray': '907df3a4bd54ad3f-ORD', 'content-encoding': 'br', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=3183&min_rtt=2811&rtt_var=462&sent=28&recv=20&lost=0&retrans=0&sent_bytes=22137&recv_bytes=8556&delivery_rate=1313707&cwnd=257&unsent_bytes=0&cid=1ba8967a0cea42af&ts=1051&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)
|