Debug jsonwebkey #2730
dispatch.yml
on: push
Lint
/
Broken Markdown links
2m 47s
Lint
/
Super Linter
7m 9s
Build & Test
/
Build Node.js
4m 27s
Build & Test
/
Build Docker image
6m 9s
Staging
/
Staging Deploy
Release
/
Release Docker image
Annotations
8 errors, 10 warnings, and 1 notice
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020:
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L174
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
172 | const result = await verifyResponse.json();
173 | expect(verifyResponse).toBeOK();
> 174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
| ^
175 | expect(result.verified).toBe(true);
176 | });
177 |
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:174:34
|
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020:
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L173
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/credential/verify?fetchRemoteContexts=true
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- x-api-key: ***
- Content-Type: application/json
- content-length: 746
- ← 400 Bad Request
- content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
- cross-origin-opener-policy: same-origin
- cross-origin-resource-policy: same-origin
- origin-agent-cluster: ?1
- referrer-policy: no-referrer
- strict-transport-security: max-age=15552000; includeSubDomains
- x-content-type-options: nosniff
- x-dns-prefetch-control: off
- x-download-options: noopen
- x-frame-options: SAMEORIGIN
- x-permitted-cross-domain-policies: none
- x-xss-protection: 0
- vary: Origin
- content-type: application/json; charset=utf-8
- content-length: 3249
- etag: W/"cb1-hdDubUQ8pHTWtDV/OFVV6K8wQWY"
- date: Wed, 16 Oct 2024 14:06:29 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"verified":false,"error":"verify: {\"name\":\"VerificationError\",\"errors\":[{\"name\":\"jsonld.InvalidUrl\",\"details\":{\"code\":\"loading remote context failed\",\"url\":\"https://identity.foundation/.well-known/did-configuration/v1\",\"cause\":{\"name\":\"Error\",\"message\":\"Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\",\"stack\":\"Error: Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\\n at documentLoader (/home/runner/work/studio/studio/node_modules/@digitalcredentials/vc/lib/documentLoader.js:18:9)\\n at Module.<anonymous> (/home/runner/work/studio/studio/node_modules/@digitalcredentials/jsonld-signatures/lib/documentLoader.js:48:12)\\n at file:///home/runner/work/studio/studio/node_modules/@veramo/credential-ld/build/ld-credential-module.js:77:23\\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n at async Conte
171 | });
172 | const result = await verifyResponse.json();
> 173 | expect(verifyResponse).toBeOK();
| ^
174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
175 | expect(result.verified).toBe(true);
176 | });
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:173:25
|
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020:
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L174
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
172 | const result = await verifyResponse.json();
173 | expect(verifyResponse).toBeOK();
> 174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
| ^
175 | expect(result.verified).toBe(true);
176 | });
177 |
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:174:34
|
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020:
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L173
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/credential/verify?fetchRemoteContexts=true
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- x-api-key: ***
- Content-Type: application/json
- content-length: 746
- ← 400 Bad Request
- content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
- cross-origin-opener-policy: same-origin
- cross-origin-resource-policy: same-origin
- origin-agent-cluster: ?1
- referrer-policy: no-referrer
- strict-transport-security: max-age=15552000; includeSubDomains
- x-content-type-options: nosniff
- x-dns-prefetch-control: off
- x-download-options: noopen
- x-frame-options: SAMEORIGIN
- x-permitted-cross-domain-policies: none
- x-xss-protection: 0
- vary: Origin
- content-type: application/json; charset=utf-8
- content-length: 3249
- etag: W/"cb1-hdDubUQ8pHTWtDV/OFVV6K8wQWY"
- date: Wed, 16 Oct 2024 14:06:43 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"verified":false,"error":"verify: {\"name\":\"VerificationError\",\"errors\":[{\"name\":\"jsonld.InvalidUrl\",\"details\":{\"code\":\"loading remote context failed\",\"url\":\"https://identity.foundation/.well-known/did-configuration/v1\",\"cause\":{\"name\":\"Error\",\"message\":\"Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\",\"stack\":\"Error: Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\\n at documentLoader (/home/runner/work/studio/studio/node_modules/@digitalcredentials/vc/lib/documentLoader.js:18:9)\\n at Module.<anonymous> (/home/runner/work/studio/studio/node_modules/@digitalcredentials/jsonld-signatures/lib/documentLoader.js:48:12)\\n at file:///home/runner/work/studio/studio/node_modules/@veramo/credential-ld/build/ld-credential-module.js:77:23\\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n at async Conte
171 | });
172 | const result = await verifyResponse.json();
> 173 | expect(verifyResponse).toBeOK();
| ^
174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
175 | expect(result.verified).toBe(true);
176 | });
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:173:25
|
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020:
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L174
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 400
172 | const result = await verifyResponse.json();
173 | expect(verifyResponse).toBeOK();
> 174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
| ^
175 | expect(result.verified).toBe(true);
176 | });
177 |
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:174:34
|
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020:
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L173
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/credential/verify?fetchRemoteContexts=true
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- x-api-key: ***
- Content-Type: application/json
- content-length: 746
- ← 400 Bad Request
- content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
- cross-origin-opener-policy: same-origin
- cross-origin-resource-policy: same-origin
- origin-agent-cluster: ?1
- referrer-policy: no-referrer
- strict-transport-security: max-age=15552000; includeSubDomains
- x-content-type-options: nosniff
- x-dns-prefetch-control: off
- x-download-options: noopen
- x-frame-options: SAMEORIGIN
- x-permitted-cross-domain-policies: none
- x-xss-protection: 0
- vary: Origin
- content-type: application/json; charset=utf-8
- content-length: 3249
- etag: W/"cb1-hdDubUQ8pHTWtDV/OFVV6K8wQWY"
- date: Wed, 16 Oct 2024 14:06:57 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"verified":false,"error":"verify: {\"name\":\"VerificationError\",\"errors\":[{\"name\":\"jsonld.InvalidUrl\",\"details\":{\"code\":\"loading remote context failed\",\"url\":\"https://identity.foundation/.well-known/did-configuration/v1\",\"cause\":{\"name\":\"Error\",\"message\":\"Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\",\"stack\":\"Error: Document loader unable to load URL \\\"https://identity.foundation/.well-known/did-configuration/v1\\\".\\n at documentLoader (/home/runner/work/studio/studio/node_modules/@digitalcredentials/vc/lib/documentLoader.js:18:9)\\n at Module.<anonymous> (/home/runner/work/studio/studio/node_modules/@digitalcredentials/jsonld-signatures/lib/documentLoader.js:48:12)\\n at file:///home/runner/work/studio/studio/node_modules/@veramo/credential-ld/build/ld-credential-module.js:77:23\\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n at async Conte
171 | });
172 | const result = await verifyResponse.json();
> 173 | expect(verifyResponse).toBeOK();
| ^
174 | expect(verifyResponse.status()).toBe(StatusCodes.OK);
175 | expect(result.verified).toBe(true);
176 | });
at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:173:25
|
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020:
tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L1
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: end of central directory record signature not found
|
Build & Test / Build Node.js
Process completed with exit code 1.
|
Sensitive data should not be used in the ARG or ENV commands:
docker/Dockerfile#L118
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "LOGTO_M2M_APP_SECRET")
More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
|
Legacy key/value format with whitespace separator should not be used:
docker/Dockerfile#L121
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
|
Legacy key/value format with whitespace separator should not be used:
docker/Dockerfile#L112
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
|
Sensitive data should not be used in the ARG or ENV commands:
docker/Dockerfile#L65
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "COOKIE_SECRET")
More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
|
Sensitive data should not be used in the ARG or ENV commands:
docker/Dockerfile#L89
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_SECRET_KEY")
More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
|
Legacy key/value format with whitespace separator should not be used:
docker/Dockerfile#L136
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
|
Sensitive data should not be used in the ARG or ENV commands:
docker/Dockerfile#L63
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "LOGTO_APP_SECRET")
More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
|
Legacy key/value format with whitespace separator should not be used:
docker/Dockerfile#L111
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
|
Sensitive data should not be used in the ARG or ENV commands:
docker/Dockerfile#L72
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "LOGTO_WEBHOOK_SECRET")
More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
|
Sensitive data should not be used in the ARG or ENV commands:
docker/Dockerfile#L90
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_PUBLISHABLE_KEY")
More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
|
🎭 Playwright Run Summary
1 failed
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:139:1 › Issue a jsonLD credential with JsonWebKey2020
1 skipped
63 passed (2.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cheqd~studio~WL99CM.dockerbuild
Expired
|
56.3 KB |
|
playwright-report
Expired
|
9.99 KB |
|
studio-staging
Expired
|
707 MB |
|