Tenet Labs

Verify a release

Every Tenet PII Engine release has a signed record that binds the version to its image and chart digests. Use it to confirm that the image you run is the one Tenet released.

Signing key

Releases are signed with cosign using a key held in AWS KMS. Signatures are not written to a public transparency log, which is why the commands below use --insecure-ignore-tlog.

Download cosign.pub

cosign.pub
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWSSMGq6ujVTDj8qGj4cTsF3XPXmW
HBg7VYIWpGqoRxdtL49c4noohTSTLXOn7WGMfTIoFMbaUGl8TLgSXIKtEQ==
-----END PUBLIC KEY-----

Releases

VersionImage digestRecord
0.5.4sha256:46a2986c7e62325c2c9d1c0ae78f6a2d5c7e36544570639e99be53851eba25c4Record · Signature
0.5.3sha256:3056df162ba0cb61fe2bfcffc1f173b0bdd15f74e207dbe57ba5d83097c32ebcRecord · Signature
0.5.2sha256:24f20dc11d792778568ba58fd39ec3e59e226aa7b4a4a5b50f13e586e4895497Record · Signature
0.5.1sha256:249d61a96659e471ee6826a9117a4b6c4cb75838cf3d068366331114d061dd9aRecord · Signature

How to verify

You need cosign v3.x. First confirm the record is genuine:

Check the signature
BASE=https://platform.tenetlabs.com/enterprise
curl -sO $BASE/cosign.pub
curl -sO $BASE/releases/0.5.4/tenet-pii-enterprise-0.5.4.release.json
curl -sO $BASE/releases/0.5.4/tenet-pii-enterprise-0.5.4.release.sigstore.json
cosign verify-blob --key cosign.pub --insecure-ignore-tlog \
--bundle tenet-pii-enterprise-0.5.4.release.sigstore.json tenet-pii-enterprise-0.5.4.release.json

Then compare the digest in the record with the one AWS Marketplace serves:

Compare the digest
jq -r .image.digest tenet-pii-enterprise-0.5.4.release.json
aws ecr batch-get-image --region us-east-1 --registry-id 709825985650 \
--repository-name tenet-labs/tenet-pii-engine --image-ids imageTag=0.5.4 \
--query 'images[0].imageId.imageDigest' --output text

The two must match. The record also lists the digest for each architecture. If you copied the image into your own registry, compare the digest for your architecture.

On EKS, also check the chart and the running pods. Every pod’s imageID must end in the image digest from the record:

Check an EKS install
jq -r .chart.digest tenet-pii-enterprise-0.5.4.release.json # compare with the Digest: line helm pull prints
jq -r .image.digest tenet-pii-enterprise-0.5.4.release.json
kubectl -n tenet-pii get pods -o jsonpath='{range .items[*]}{.status.containerStatuses[0].imageID}{"\n"}{end}'

Questions: team@tenetlabs.com