fix: harden cryptographic session lifecycle and integrity validation#397
Open
Temi709 wants to merge 2 commits into
Open
fix: harden cryptographic session lifecycle and integrity validation#397Temi709 wants to merge 2 commits into
Temi709 wants to merge 2 commits into
Annotations
10 errors and 3 warnings
|
Test:
apps/web/src/lib/cryptoStore.ts#L10
ReferenceError: indexedDB is not defined
❯ src/lib/cryptoStore.ts:10:23
❯ CryptoStore.getDb src/lib/cryptoStore.ts:9:12
❯ src/lib/cryptoStore.ts:61:29
❯ CryptoStore.dbClear src/lib/cryptoStore.ts:60:12
❯ CryptoStore.clear src/lib/cryptoStore.ts:207:16
❯ src/lib/__tests__/identity-persistence.test.ts:21:23
This error originated in "src/lib/__tests__/identity-persistence.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "persisted private key can sign data (if converted to signing key)". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Test:
apps/web/src/lib/cryptoStore.ts#L10
ReferenceError: indexedDB is not defined
❯ src/lib/cryptoStore.ts:10:23
❯ CryptoStore.getDb src/lib/cryptoStore.ts:9:12
❯ src/lib/cryptoStore.ts:61:29
❯ CryptoStore.dbClear src/lib/cryptoStore.ts:60:12
❯ CryptoStore.clear src/lib/cryptoStore.ts:207:16
❯ src/lib/__tests__/identity-persistence.test.ts:17:23
This error originated in "src/lib/__tests__/identity-persistence.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "persisted private key can sign data (if converted to signing key)". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Test:
apps/web/src/lib/cryptoStore.ts#L10
ReferenceError: indexedDB is not defined
❯ src/lib/cryptoStore.ts:10:23
❯ CryptoStore.getDb src/lib/cryptoStore.ts:9:12
❯ src/lib/cryptoStore.ts:61:29
❯ CryptoStore.dbClear src/lib/cryptoStore.ts:60:12
❯ CryptoStore.clear src/lib/cryptoStore.ts:207:16
❯ src/lib/__tests__/identity-persistence.test.ts:21:23
This error originated in "src/lib/__tests__/identity-persistence.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "persisted private key can perform ECDH operations". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Test:
apps/web/src/lib/cryptoStore.ts#L10
ReferenceError: indexedDB is not defined
❯ src/lib/cryptoStore.ts:10:23
❯ CryptoStore.getDb src/lib/cryptoStore.ts:9:12
❯ src/lib/cryptoStore.ts:61:29
❯ CryptoStore.dbClear src/lib/cryptoStore.ts:60:12
❯ CryptoStore.clear src/lib/cryptoStore.ts:207:16
❯ src/lib/__tests__/identity-persistence.test.ts:17:23
This error originated in "src/lib/__tests__/identity-persistence.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "persisted private key can perform ECDH operations". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Test:
apps/web/src/lib/cryptoStore.ts#L10
ReferenceError: indexedDB is not defined
❯ src/lib/cryptoStore.ts:10:23
❯ CryptoStore.getDb src/lib/cryptoStore.ts:9:12
❯ src/lib/cryptoStore.ts:61:29
❯ CryptoStore.dbClear src/lib/cryptoStore.ts:60:12
❯ CryptoStore.clear src/lib/cryptoStore.ts:207:16
❯ src/lib/__tests__/identity-persistence.test.ts:21:23
This error originated in "src/lib/__tests__/identity-persistence.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "persists private key across simulated page reload". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Test:
apps/web/src/lib/cryptoStore.ts#L10
ReferenceError: indexedDB is not defined
❯ src/lib/cryptoStore.ts:10:23
❯ CryptoStore.getDb src/lib/cryptoStore.ts:9:12
❯ src/lib/cryptoStore.ts:61:29
❯ CryptoStore.dbClear src/lib/cryptoStore.ts:60:12
❯ CryptoStore.clear src/lib/cryptoStore.ts:207:16
❯ src/lib/__tests__/identity-persistence.test.ts:17:23
This error originated in "src/lib/__tests__/identity-persistence.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "persists private key across simulated page reload". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Test:
apps/web/src/lib/cryptoStore.ts#L10
ReferenceError: indexedDB is not defined
❯ src/lib/cryptoStore.ts:10:23
❯ CryptoStore.getDb src/lib/cryptoStore.ts:9:12
❯ src/lib/cryptoStore.ts:61:29
❯ CryptoStore.dbClear src/lib/cryptoStore.ts:60:12
❯ CryptoStore.clear src/lib/cryptoStore.ts:207:16
❯ src/lib/__tests__/identity-persistence.test.ts:21:23
This error originated in "src/lib/__tests__/identity-persistence.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "returns the same identity across multiple calls (no regeneration)". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Test:
apps/web/src/lib/cryptoStore.ts#L10
ReferenceError: indexedDB is not defined
❯ src/lib/cryptoStore.ts:10:23
❯ CryptoStore.getDb src/lib/cryptoStore.ts:9:12
❯ src/lib/cryptoStore.ts:61:29
❯ CryptoStore.dbClear src/lib/cryptoStore.ts:60:12
❯ CryptoStore.clear src/lib/cryptoStore.ts:207:16
❯ src/lib/__tests__/identity-persistence.test.ts:17:23
This error originated in "src/lib/__tests__/identity-persistence.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "returns the same identity across multiple calls (no regeneration)". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Test:
apps/web/src/lib/cryptoStore.ts#L10
ReferenceError: indexedDB is not defined
❯ src/lib/cryptoStore.ts:10:23
❯ CryptoStore.getDb src/lib/cryptoStore.ts:9:12
❯ src/lib/cryptoStore.ts:61:29
❯ CryptoStore.dbClear src/lib/cryptoStore.ts:60:12
❯ CryptoStore.clear src/lib/cryptoStore.ts:207:16
❯ src/lib/__tests__/identity-persistence.test.ts:21:23
This error originated in "src/lib/__tests__/identity-persistence.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "generates and persists identity keypair". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Test:
apps/web/src/lib/cryptoStore.ts#L10
ReferenceError: indexedDB is not defined
❯ src/lib/cryptoStore.ts:10:23
❯ CryptoStore.getDb src/lib/cryptoStore.ts:9:12
❯ src/lib/cryptoStore.ts:61:29
❯ CryptoStore.dbClear src/lib/cryptoStore.ts:60:12
❯ CryptoStore.clear src/lib/cryptoStore.ts:207:16
❯ src/lib/__tests__/identity-persistence.test.ts:17:23
This error originated in "src/lib/__tests__/identity-persistence.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "generates and persists identity keypair". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint:
apps/web/src/lib/fileEncryption.ts#L211
'_messageId' is assigned a value but never used
|
|
Lint:
apps/web/src/lib/fileEncryption.ts#L210
'_conversationId' is assigned a value but never used
|
background
wait
wait-all
cancel
parallel
Loading