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.
-----BEGIN PUBLIC KEY-----MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWSSMGq6ujVTDj8qGj4cTsF3XPXmWHBg7VYIWpGqoRxdtL49c4noohTSTLXOn7WGMfTIoFMbaUGl8TLgSXIKtEQ==-----END PUBLIC KEY-----
Releases
| Version | Image digest | Record |
|---|---|---|
| 0.5.4 | sha256:46a2986c7e62325c2c9d1c0ae78f6a2d5c7e36544570639e99be53851eba25c4 | Record · Signature |
| 0.5.3 | sha256:3056df162ba0cb61fe2bfcffc1f173b0bdd15f74e207dbe57ba5d83097c32ebc | Record · Signature |
| 0.5.2 | sha256:24f20dc11d792778568ba58fd39ec3e59e226aa7b4a4a5b50f13e586e4895497 | Record · Signature |
| 0.5.1 | sha256:249d61a96659e471ee6826a9117a4b6c4cb75838cf3d068366331114d061dd9a | Record · Signature |
How to verify
You need cosign v3.x. First confirm the record is genuine:
BASE=https://platform.tenetlabs.com/enterprisecurl -sO $BASE/cosign.pubcurl -sO $BASE/releases/0.5.4/tenet-pii-enterprise-0.5.4.release.jsoncurl -sO $BASE/releases/0.5.4/tenet-pii-enterprise-0.5.4.release.sigstore.jsoncosign 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:
jq -r .image.digest tenet-pii-enterprise-0.5.4.release.jsonaws 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:
jq -r .chart.digest tenet-pii-enterprise-0.5.4.release.json # compare with the Digest: line helm pull printsjq -r .image.digest tenet-pii-enterprise-0.5.4.release.jsonkubectl -n tenet-pii get pods -o jsonpath='{range .items[*]}{.status.containerStatuses[0].imageID}{"\n"}{end}'