Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: Hayden Blauzvern <[email protected]>
  • Loading branch information
haydentherapper committed Sep 6, 2023
1 parent 85f1d4b commit 142c3e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e_tsa_mtls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ TIMESTAMP_SERVER_CERT=$CERT_BASE/tsa-mtls-server.crt
TIMESTAMP_SERVER_KEY=$CERT_BASE/tsa-mtls-server.key
TIMESTAMP_SERVER_NAME="server.example.com"
TIMESTAMP_SERVER_URL=https://localhost:3000/api/v1/timestamp
TIMESTAMP_CHAIN_FILE="timestamp-chain.pem"
TIMESTAMP_CHAIN_FILE="timestamp-chain"

set +e
COSIGN_CLI=./cosign
Expand Down Expand Up @@ -95,5 +95,5 @@ $COSIGN_CLI verify --insecure-ignore-tlog --insecure-ignore-sct --check-claims=t
--certificate-chain cacert.pem --timestamp-certificate-chain $TIMESTAMP_CHAIN_FILE $IMG

# cleanup
rm -fr ca-key.pem cacert.pem cert.pem timestamp-chain.pem /tmp/timestamp-authority
rm -fr ca-key.pem cacert.pem cert.pem timestamp-chain /tmp/timestamp-authority
pkill -f 'timestamp-server'

0 comments on commit 142c3e9

Please sign in to comment.