diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 4e8a1f731..63f37612b 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -90,6 +90,8 @@ jobs: integration: name: integration tests runs-on: ubuntu-22.04 + env: + TLS_ENABLED: "true" steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 diff --git a/test/tdf-roundtrips.bats b/test/tdf-roundtrips.bats index d9ec4216f..2e868ceb5 100755 --- a/test/tdf-roundtrips.bats +++ b/test/tdf-roundtrips.bats @@ -70,7 +70,7 @@ @test "examples: legacy key support Z-TDF" { echo "[INFO] validating default key is r1" - [ $(grpcurl -plaintext "localhost:8080" "kas.AccessService/PublicKey" | jq -e -r .kid) = r1 ] + [ $(grpcurl "localhost:8080" "kas.AccessService/PublicKey" | jq -e -r .kid) = r1 ] echo "[INFO] encrypting samples" go run ./examples encrypt --autoconfigure=false -o sensitive-with-no-kid.txt.tdf --no-kid-in-kao "Hello Legacy" @@ -86,7 +86,7 @@ wait_for_green echo "[INFO] validating default key is r2" - [ $(grpcurl -plaintext "localhost:8080" "kas.AccessService/PublicKey" | jq -e -r .kid) = r2 ] + [ $(grpcurl "localhost:8080" "kas.AccessService/PublicKey" | jq -e -r .kid) = r2 ] echo "[INFO] decrypting after key rotation" go run ./examples decrypt sensitive-with-no-kid.txt.tdf | grep "Hello Legacy" @@ -95,7 +95,7 @@ @test "examples: legacy kas and service config format support" { echo "[INFO] validating default key is r1" - [ $(grpcurl -plaintext "localhost:8080" "kas.AccessService/PublicKey" | jq -e -r .kid) = r1 ] + [ $(grpcurl "localhost:8080" "kas.AccessService/PublicKey" | jq -e -r .kid) = r1 ] echo "[INFO] encrypting samples" go run ./examples encrypt --autoconfigure=false -o sensitive-with-no-kid.txt.tdf --no-kid-in-kao "Hello Legacy"