tfshim

command module
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2026 License: AGPL-3.0 Imports: 41 Imported by: 0

README

Tinfoil Attestation Shim

A reverse proxy service that terminates TLS and exposes the attestation attestation report over HTTP.

Features

  • TLS termination with automatic certificate management
  • AMD SEV-SNP / Intel TDX attestation endpoint
  • API key validation through an external key server
  • Rate limiting per API key
  • Path-based access control

Attestation

The shim provides an attestation endpoint at /.well-known/tinfoil-attestation that returns a signed attestation report. The report includes a SHA-256 hash of the TLS certificate in the user data field, allowing clients to bind a TLS connection to an enclave measurement.

Authorization and Control Plane Integration

For each every request to the upstream (the attestation endpoint is excluded from authorization), the shim will check if the Authorization: Bearer ... header is set and attempt to verify the token agains the configured public key.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
key

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL