From aa586ac5206aa65609bf7b9e76759e0cef0e8461 Mon Sep 17 00:00:00 2001 From: Kris Coleman Date: Tue, 15 Oct 2024 15:42:15 -0400 Subject: [PATCH] fix: fixed the mapping between key and certificate inputs to their correct cli flags --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index acaad17..80185a8 100644 --- a/index.js +++ b/index.js @@ -119,7 +119,7 @@ async function run() { if (mavenPOM) cmd.push(`--attestor-maven-pom-path=${mavenPOM}`); - if (certificate) cmd.push(`--certificate=${certificate}`); + if (certificate) cmd.push(`--signer-file-cert-path=${certificate}`); if (enableArchivista) cmd.push(`--enable-archivista=${enableArchivista}`); if (archivistaServer) cmd.push(`--archivista-server=${archivistaServer}`); if (fulcio) cmd.push(`--signer-fulcio-url=${fulcio}`); @@ -136,7 +136,7 @@ async function run() { }); } - if (key) cmd.push(`--key=${key}`); + if (key) cmd.push(`--signer-file-key-path=${key}`); if (productExcludeGlob) cmd.push(`--attestor-product-exclude-glob=${productExcludeGlob}`); if (productIncludeGlob) cmd.push(`--attestor-product-include-glob=${productIncludeGlob}`); if (spiffeSocket) cmd.push(`--spiffe-socket=${spiffeSocket}`);