Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(auth): reuse shared undersized key fixture
Alfredo Lopez071c1f0b1a09
diff --git a/control-api/package-lock.json b/control-api/package-lock.jsonindex 5575f1d7d..87547f1e4 100644--- a/control-api/package-lock.json+++ b/control-api/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-control-api",- "version": "0.1.703",+ "version": "0.1.704","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-control-api",- "version": "0.1.703",+ "version": "0.1.704","dependencies": {"@clerum/display-field": "file:../packages/display-field","@clerum/grok-provider-attempt-contract": "file:../packages/grok-provider-attempt-contract",diff --git a/control-api/package.json b/control-api/package.jsonindex 434d1cb1d..a7029113a 100644--- a/control-api/package.json+++ b/control-api/package.json@@ -1,6 +1,6 @@{"name": "clerum-control-api",- "version": "0.1.703",+ "version": "0.1.704","description": "Internal Clerum control plane REST API + UI for managing CRDs and secrets","main": "dist/main.js","engines": {diff --git a/control-api/test/config.jwtHardening.test.ts b/control-api/test/config.jwtHardening.test.tsindex 8b10ac454..91aeb6f85 100644--- a/control-api/test/config.jwtHardening.test.ts+++ b/control-api/test/config.jwtHardening.test.ts@@ -26,6 +26,7 @@ const fixtureApi = createRequire(import.meta.url)() as {encodings: (material: string) => Record<string, string>certificate: (material: KeyObject) => string+ fixtures: () => Record<number, any>}const rsaPair = generateKeyPairSync('rsa', { modulusLength: 2048 })const rsa4096Pair = generateKeyPairSync('rsa', { modulusLength: 4096 })@@ -62,9 +63,9 @@ const signingCases = [reason: undefined,},{- // codeql[js/insufficient-key-size] Intentional negative fixture: the policy must reject this key size.name: 'rsa1024',- material: generateKeyPairSync('rsa', { modulusLength: 1024 })+ material: fixtureApi+ .fixtures()[1024].privateKey.export({ type: 'pkcs8', format: 'pem' }).toString(),reason: 'undersized_rsa_key',