Skip to content

TEE 0.3.1

Latest

Choose a tag to compare

@Pana Pana released this 20 Nov 03:42
· 3 commits to main since this release
a70a3a4

Production release. This identity serves the production environment. It replaces snp-app:83f877b9b046972daa9b0310b40ca8d642647d3a33e7ccf2031d0f90e7ab73c7 (release 0.2.1), which was deactivated in production at the same moment.

Identity

Field Value
Application identity snp-app:df38d99343f65e66ff10423dbf3148812d2e891af8f5e5db5d8255e9d608bbb5
Policy hash (receipt policy_hash) 8dde1990d62099a666bb078a7b626f2c9335cd070e92e9a849d2ced2bff96a40
App binary SHA-256 bc7492071e8a8753e995f4cea85495078b38187dc4e1513d560d66512bce1d29
Policy file SHA-256 eea95f32a625666b164be043b55b3f12bee900f6ecb9620bb17916c663ee66a3
CA bundle SHA-256 61efbd6d3f829f71039c57b29dd37d15ac7f33c4ece861aaef8c7d7a519cd1d9
Bundle size 30,064,640 bytes
Built at 2026-11-20T02:32:32Z
Activated in production 2026-11-20T02:55:13Z

The policy hash is the same as 0.2.1: the whitelist did not change.

Commits

  • Source commit A: 7988e05ca9e3245b0c58e6ad0b9a69434abc6329. The bundle was built from this commit with a clean tree (source_dirty: false). Tag 0.3.0 points to the same commit.
  • Catalog commit B: a70a3a40bd7d76e555e938e1eb689353473edee2. It records this release, the production deactivation of the previous identity and the production activation of this one (#25). This tag points to B.

Changes

Compared with the previous production release 0.2.1 (source 3d2ecf7):

  • Attested inbox key (#23). GET /v1/credential-key?nonce=<64 hex> returns, next to the inbox key, a statement signed by the attested epoch key (the key that signs receipts), with signing domain TokenHive.CredentialKey.v1. The statement binds the provider's nonce, the inbox key, the policy hash and the inline hardware evidence, so a provider can check that the key it encrypts credentials to belongs to this measured image instead of trusting the relay. The TEE refuses to sign once the epoch's evidence is past its signing deadline. Requests without a nonce still get the unsigned key, unchanged.
  • Dependency security fixes (#21, issue #20). github.com/google/go-eventlog upgraded for GO-2026-6893 (event type spoofing on the Secure Boot event log path), golang.org/x/net to v0.60.0, and the Go toolchain to 1.27.4.

Compared with the staging pre-release 0.3.0 (source a4e1eb5): the source differs only in the release catalog (releases/catalog.json, #24), which is not part of the bundle. The policy and the CA bundle are identical, so the policy hash is the same. This is a separate build, so the app binary and the application identity differ from 0.3.0.

Hive verifies receipts from this image with its current pin (github.com/tokhive/tee c46f7db), since the policy hash is unchanged. Hive relays the attested key starting with tokhive/hive#369.

Build

  • go.mod at A sets toolchain go1.27.4. The build host and its Go version were not recorded for this release.
  • cloudtest/snp/pack.sh cross-compiles the app with GOOS=linux GOARCH=amd64 CGO_ENABLED=0 GOFLAGS=-mod=readonly go build -trimpath -ldflags "-s -w -buildid= -extldflags=-static".

The original build manifest, df38d99343f65e66ff10423dbf3148812d2e891af8f5e5db5d8255e9d608bbb5.tar.build.json, is attached as it was produced at build time. Every field in it matches this release's entry in the signed catalog.json. This release does not record the build container image or base AMI, and it does not include a full build log.

Signature

catalog.json is signed with SSHSIG (Ed25519, namespace tokhive-tee-release, identity tokhive-release) using the production signing key, the same key as 0.2.1.

Production release signing key fingerprint: SHA256:A7HhHJgJmWp4xbtwhD/4IL5Ua6XUWG9FahuP0KNPoNk

Production and staging catalogs are signed with different keys. The staging pre-releases 0.2.0 and 0.3.0 carry the staging key, so their fingerprint does not apply here.

Confirm this fingerprint through an independent official channel before you trust release-signing.pub. Do not trust the copy attached here on its own. Verify from a checkout of this tag:

python3 deploy/signed_release.py verify \
  --catalog catalog.json \
  --signature catalog.json.sig \
  --allowed-signers allowed_signers \
  --identity tokhive-release \
  --environment production \
  --output tee-production.verified.json

A valid signature confirms who published the catalog and that its bytes are unchanged. It does not prove what is running right now. To check a receipt, use an independent verifier against the hardware evidence, the application identity and the policy hash above. See docs/public-verification.md.

Assets

File Purpose
df38d993….tar.build.json Original build manifest for this bundle, unmodified
catalog.json Full release catalog, byte-identical to releases/catalog.json at B
catalog.commit Full commit B
catalog.json.sig SSHSIG signature over catalog.json
release-signing.pub, release-signing.fingerprint Production release signing public key and its fingerprint
allowed_signers Example allowed-signers file. It does not establish trust on its own.
tee-production.json Production view exported after verification. Hive loads this file.
SHA256SUMS Checksums of every other asset