Skip to content

fix: adjust iat and nbf for id token signing #2043

fix: adjust iat and nbf for id token signing

fix: adjust iat and nbf for id token signing #2043

Triggered via pull request April 12, 2024 14:00
Status Failure
Total duration 2m 36s
Artifacts

sonarcloud.yml

on: pull_request
SonarCloud snap
2m 22s
SonarCloud snap
SonarCloud datamanager
1m 24s
SonarCloud datamanager
SonarCloud connector
51s
SonarCloud connector
SonarCloud dapp
53s
SonarCloud dapp
SonarCloud docs
46s
SonarCloud docs
SonarCloud did-provider-key
1m 24s
SonarCloud did-provider-key
SonarCloud extended-verification-lib
1m 55s
SonarCloud extended-verification-lib
Fit to window
Zoom out
Zoom in

Annotations

3 errors
tests/e2e/resolveDID.spec.ts > resolveDID > should resolve a 'cheqd' method: packages/snap/tests/e2e/resolveDID.spec.ts#L48
AssertionError: expected null to deeply equal { '@context': [ …(2) ], …(4) } - Expected: Object { "@context": Array [ "https://www.w3.org/ns/did/v1", "https://w3id.org/security/suites/ed25519-2020/v1", ], "authentication": Array [ "did:cheqd:mainnet:Ps1ysXP2Ae6GBfxNhNQNKN#key1", ], "id": "did:cheqd:mainnet:Ps1ysXP2Ae6GBfxNhNQNKN", "service": Array [ Object { "id": "did:cheqd:mainnet:Ps1ysXP2Ae6GBfxNhNQNKN#website", "serviceEndpoint": Array [ "https://www.cheqd.io", ], "type": "LinkedDomains", }, Object { "id": "did:cheqd:mainnet:Ps1ysXP2Ae6GBfxNhNQNKN#non-fungible-image", "serviceEndpoint": Array [ "https://gateway.ipfs.io/ipfs/bafybeihetj2ng3d74k7t754atv2s5dk76pcqtvxls6dntef3xa6rax25xe", ], "type": "LinkedDomains", }, Object { "id": "did:cheqd:mainnet:Ps1ysXP2Ae6GBfxNhNQNKN#twitter", "serviceEndpoint": Array [ "https://twitter.com/cheqd_io", ], "type": "LinkedDomains", }, Object { "id": "did:cheqd:mainnet:Ps1ysXP2Ae6GBfxNhNQNKN#linkedin", "serviceEndpoint": Array [ "https://www.linkedin.com/company/cheqd-identity/", ], "type": "LinkedDomains", }, ], "verificationMethod": Array [ Object { "controller": "did:cheqd:mainnet:Ps1ysXP2Ae6GBfxNhNQNKN", "id": "did:cheqd:mainnet:Ps1ysXP2Ae6GBfxNhNQNKN#key1", "publicKeyMultibase": "z6Mkta7joRuvDh7UnoESdgpr9dDUMh5LvdoECDi3WGrJoscA", "type": "Ed25519VerificationKey2020", }, ], } + Received: null ❯ tests/e2e/resolveDID.spec.ts:48:36
tests/unit/ceramic.spec.ts > Utils [ceramic] > ceramicVCStore > should fail saving wrong object on ceramic network: packages/snap/tests/unit/ceramic.spec.ts#L72
AssertionError: expected [Function] to throw error including 'HTTP request to \'https://ceramic-cla…' but got 'HTTP request to \'https://ceramic-cla…' - Expected + Received - HTTP request to 'https://ceramic-clay.3boxlabs.com/api/v0/commits' failed with status 'Internal Server Error': {"error":"Validation Error: data/vcs/a665a45920422f9d417e4867efdc4fb8a04a1f3fff1fa07e998e86f7f7a27ae3 must be object, data/vcs/a665a45920422f9d417e4867efdc4fb8a04a1f3fff1fa07e998e86f7f7a27ae3 must be string, data/vcs/a665a45920422f9d417e4867efdc4fb8a04a1f3fff1fa07e998e86f7f7a27ae3 must match a schema in anyOf"} + HTTP request to 'https://ceramic-clay.3boxlabs.com/api/v0/commits' failed with status 'Internal Server Error': {"error":"Commit to stream k2t6wyfsu4pg2q7vm7y3wr4bvri4d0dzfwbb7ebirtes8rwundfjja0qnfmuai rejected because it builds on stale state. Calling 'sync()' on the stream handle will synchronize the stream state in the client with that on the Ceramic node. Rejected commit CID: bagcqceraplx5k6u6rbjioyhcdlvj35vf6u7d3ick3qmk6zxriis7ksddokga. Current tip: bagcqcerakoui4svbsnk5ef5e7dcrfzoyokfoedzmgrzb64kxlu5muxndofla"} ❯ tests/unit/ceramic.spec.ts:72:7
SonarCloud snap
Process completed with exit code 1.