From 3b1f07e9373d9a4ef145a55d8918d941ad115d27 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 3 May 2026 13:54:43 +0000 Subject: [PATCH 1/4] Initial plan From 4943e689e0cbeca89d6a308218ec93d7d601edd0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 3 May 2026 13:58:29 +0000 Subject: [PATCH 2/4] fix: remove unused export from SslBumpConfig interface in ssl-bump.ts Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/e07586e3-c8a8-4e76-8158-807e9636123d Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --- src/ssl-bump.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl-bump.ts b/src/ssl-bump.ts index a7324851..3dff0b12 100644 --- a/src/ssl-bump.ts +++ b/src/ssl-bump.ts @@ -36,7 +36,7 @@ export function chownRecursive(dirPath: string, uid: number, gid: number): void /** * Configuration for SSL Bump CA generation */ -export interface SslBumpConfig { +interface SslBumpConfig { /** Working directory to store CA files */ workDir: string; /** Common name for the CA certificate (default: 'AWF Session CA') */ From 8258b966f67579e5261a05a1595dc71a377af343 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 3 May 2026 23:14:54 +0000 Subject: [PATCH 3/4] fix: inline SslBumpConfig parameter type to fix declaration emit with non-exported interface Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/d3d6437d-fcec-4fe2-b8a8-fd6939900785 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --- src/ssl-bump.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl-bump.ts b/src/ssl-bump.ts index 3dff0b12..ee6ee122 100644 --- a/src/ssl-bump.ts +++ b/src/ssl-bump.ts @@ -178,7 +178,7 @@ export function cleanupSslKeyMaterial(workDir: string): void { * @returns Paths to generated CA files * @throws Error if OpenSSL commands fail */ -export async function generateSessionCa(config: SslBumpConfig): Promise { +export async function generateSessionCa(config: { workDir: string; commonName?: string; validityDays?: number }): Promise { const { workDir, commonName = 'AWF Session CA', validityDays = 1 } = config; // Create ssl directory in workDir, backed by tmpfs when possible From a30c75c808b98eaf9afcd7a6db40f48c6185ea24 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 3 May 2026 23:28:11 +0000 Subject: [PATCH 4/4] fix: remove unused SslBumpConfig interface to fix ESLint no-unused-vars error Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/fe39d17c-0681-4b39-8ef4-af0d69df95fd Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --- src/ssl-bump.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/ssl-bump.ts b/src/ssl-bump.ts index ee6ee122..568fd31c 100644 --- a/src/ssl-bump.ts +++ b/src/ssl-bump.ts @@ -33,18 +33,6 @@ export function chownRecursive(dirPath: string, uid: number, gid: number): void } } -/** - * Configuration for SSL Bump CA generation - */ -interface SslBumpConfig { - /** Working directory to store CA files */ - workDir: string; - /** Common name for the CA certificate (default: 'AWF Session CA') */ - commonName?: string; - /** Validity period in days (default: 1) */ - validityDays?: number; -} - /** * Result of CA generation containing paths to certificate files */