teeattestation

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package teeattestation provides platform-agnostic primitives for TEE attestation validation. Platform-specific validators (e.g. AWS Nitro) live in subpackages.

Index

Constants

View Source
const DomainSeparator = "CONFIDENTIAL_COMPUTE_PAYLOAD"

DomainSeparator is prepended to attestation payloads before hashing.

Variables

This section is empty.

Functions

func DomainHash

func DomainHash(tag string, data []byte) []byte

DomainHash computes SHA-256 over the DomainSeparator and the length-prefixed tag and data, so distinct (tag, data) pairs can never share a pre-image. [CL112-14]

Types

This section is empty.

Directories

Path Synopsis
Package nitro provides AWS Nitro Enclave attestation validation.
Package nitro provides AWS Nitro Enclave attestation validation.
fake
Package nitrofake provides an Attestor that produces structurally valid COSE Sign1 attestation documents.
Package nitrofake provides an Attestor that produces structurally valid COSE Sign1 attestation documents.
Package passthrough provides a TEE attestation validator that accepts any attestation without verification, recording each use via a metric so the insecure path stays observable.
Package passthrough provides a TEE attestation validator that accepts any attestation without verification, recording each use via a metric so the insecure path stays observable.

Jump to

Keyboard shortcuts

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