Skip to content

Commit 8258b96

Browse files
Copilotlpcox
andauthored
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>
1 parent 4943e68 commit 8258b96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ssl-bump.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export function cleanupSslKeyMaterial(workDir: string): void {
178178
* @returns Paths to generated CA files
179179
* @throws Error if OpenSSL commands fail
180180
*/
181-
export async function generateSessionCa(config: SslBumpConfig): Promise<CaFiles> {
181+
export async function generateSessionCa(config: { workDir: string; commonName?: string; validityDays?: number }): Promise<CaFiles> {
182182
const { workDir, commonName = 'AWF Session CA', validityDays = 1 } = config;
183183

184184
// Create ssl directory in workDir, backed by tmpfs when possible

0 commit comments

Comments
 (0)