Skip to content

Commit

Permalink
insecure to skip validaion signature
Browse files Browse the repository at this point in the history
Signed-off-by: schristoff <[email protected]>
  • Loading branch information
schristoff committed Sep 23, 2024
1 parent bc06308 commit 8282473
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/e2e/31_checksum_and_signature_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestChecksumAndSignature(t *testing.T) {

/* Test operations during package inspect */
// Test that we can inspect the yaml of the package without the private key
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", pkgName, "--insecure")
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", pkgName, "--skip-signature-validation")
require.NoError(t, err, stdOut, stdErr)

/* Test operations during package deploy */
Expand Down
2 changes: 1 addition & 1 deletion src/test/e2e/34_custom_init_package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestCustomInit(t *testing.T) {

/* Test operations during package inspect */
// Test that we can inspect the yaml of the package without the private key
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", pkgName, "--insecure")
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", pkgName, "--skip-signature-validation")
require.NoError(t, err, stdOut, stdErr)

// Test that we don't get an error when we remember to provide the public key
Expand Down
2 changes: 1 addition & 1 deletion src/test/nightly/ecr_publish_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func TestECRPublishing(t *testing.T) {

// Ensure we get a warning when trying to inspect the package without providing the public key
// and the insecure flag
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", testPackageFileName, "--insecure")
stdOut, stdErr, err = e2e.Zarf(t, "package", "inspect", testPackageFileName, "--skip-signature-validation")
require.NoError(t, err, stdOut, stdErr)
require.NotContains(t, stdErr, "Validating SBOM checksums")

Expand Down

0 comments on commit 8282473

Please sign in to comment.